iptables -t nat -F nic # iptables -F nic # # NAT to NIC's address nic # iptables -t nat -A POSTROUTING -s 192.1.3.0/24 -j SNAT --to-source 192.1.2.254 nic # # A tunnel should have established with non-zero byte counters nic # ipsec whack --trafficstatus whack: Pluto is not running (no "/run/pluto/pluto.ctl") nic # # you should see both RSA and NULL nic # grep IKEv2_AUTH_ /tmp/pluto.log nic # nic # ../bin/check-for-core.sh CORE FOUND: /tmp/core.road.pluto.15642 [New LWP 15642] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `PATH/libexec/ipsec/pluto --config /etc/ipsec.conf'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fbc087ece75 in raise () from /lib64/libc.so.6 #0 0x00007fbc087ece75 in raise () from /lib64/libc.so.6 #1 0x00007fbc087d7895 in abort () from /lib64/libc.so.6 #2 0x0000557847eacecb in lswlog_passert_suffix (buf=buf@entry=0x7ffcc2d65730, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x0000557847e9e2e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x557847efb624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x0000557847e3a586 in free_signal_handlers () at /home/build/libreswan/programs/pluto/server.c:624 #5 free_pluto_event_list () at /home/build/libreswan/programs/pluto/server.c:671 #6 0x0000557847e370c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x0000557847dfd907 in create_lock () at /home/build/libreswan/programs/pluto/plutomain.c:272 #8 main (argc=, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1458 BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.15642: No such file or directory warning: Couldn't read general-purpose registers from `.reg/15642' section in core file. BFD: reopening /tmp/core.road.pluto.15642: No such file or directory warning: Couldn't read floating-point registers from `.reg2/15642' section in core file. BFD: reopening /tmp/core.road.pluto.15642: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/15642' section in core file. BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory BFD: reopening /tmp/core.road.pluto.15642: No such file or directory mv: cannot stat '/tmp/core.road.pluto.15642': No such file or directory nic # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi