../../guestbin/nic-nat.sh 192.1.3.0/24 192.1.2.254 50000
192.1.3.0/24:500 -udp-> 192.1.2.254:50500-50600
192.1.3.0/24:500 -tcp-> 192.1.2.254:50500-50600
192.1.3.0/24:4500 -udp-> 192.1.2.254:54500-54600
192.1.3.0/24:4500 -tcp-> 192.1.2.254:54500-54600
192.1.3.0/24 -> 192.1.2.254
nic #
 # A tunnel should have established with non-zero byte counters
nic #
 hostname | grep nic > /dev/null || ipsec whack --trafficstatus
nic #
 hostname | grep nic > /dev/null || grep "^[^|].* established Child SA" /tmp/pluto.log
nic #
 hostname | grep nic > /dev/null || grep -e 'auth method: ' -e 'hash algorithm identifier' -e "^[^|].* established IKE SA" /tmp/pluto.log
nic #
