iptables -t nat -F kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# iptables -F kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# ip addr add 192.1.3.130/24 dev eth1 kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# # Destination NAT to east's address not the port kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# iptables -t nat -A PREROUTING -d 192.1.3.130 -j DNAT --to-destination 192.1.2.23 kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# # A tunnel should have established with non-zero byte counters kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# ip addr show scope global 2: ip_vti0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 7872: eth0@if7873: mtu 1500 qdisc noqueue state UP group default qlen 1000 Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. link/ether 5a:70:8b:9d:63:9e brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 192.1.2.254/24 scope global eth0 valid_lft forever preferred_lft forever 7880: eth1@if7881: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 82:03:e3:7e:58:72 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 192.1.3.254/24 scope global eth1 valid_lft forever preferred_lft forever inet 192.1.3.130/24 scope global secondary eth1 valid_lft forever preferred_lft forever kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# # jacob two two for east? kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# ipsec whack --trafficstatus whack: Pluto is not running (no "/run/pluto/pluto.ctl") kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'grep IKEv2_AUTH_ /tmp/pluto.log' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec stop' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh '#check the ip extra ip address/sourceip address is removed' <<<<<<<<< mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 7872: eth0@if7873: mtu 1500 qdisc noqueue state UP group default qlen 1000 Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. link/ether 5a:70:8b:9d:63:9e brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 192.1.2.254/24 scope global eth0 valid_lft forever preferred_lft forever 7880: eth1@if7881: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 82:03:e3:7e:58:72 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 192.1.3.254/24 scope global eth1 valid_lft forever preferred_lft forever inet 192.1.3.130/24 scope global secondary eth1 valid_lft forever preferred_lft forever kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# : ==== tuc ==== kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# ../bin/check-for-core.sh kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server]# if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi kroot@swantest:/home/build/libreswan/testing/pluto/certoe-12-nat-server\[root@nic certoe-12-nat-server 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<