#!/bin/sh kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# iptables -t nat -F kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# iptables -F kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# echo done. done. kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# # on east this should show 2 sets of in/fwd/out policies kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# ../../pluto/bin/ipsec-look.sh kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# # check both connections still work on east kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01]# hostname | grep east > /dev/null && ping -c2 192.0.2.101 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'hostname | grep east > /dev/null && ping -c2 192.0.2.101' <<<<<<<<< /dev/null && ping -c2 192.0.2.102 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-psk-two-rw-id-ip-01\[root@nic ikev1-psk-two-rw-id-ip-01 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'hostname | grep east > /dev/null && ping -c2 192.0.2.102' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<