iptables -t nat -F
nic #
 iptables -F
nic #
 # A tunnel should have established with non-zero byte counters
nic #
 hostname | grep nic > /dev/null || ipsec whack --trafficstatus
nic #
 grep "^[^|].* established Child SA" /tmp/pluto.log
grep: /tmp/pluto.log: No such file or directory
nic #
 # you should see both RSA and NULL
nic #
 grep -e 'auth method: ' -e 'hash algorithm identifier' -e "^[^|].* established IKE SA" /tmp/pluto.log
grep: /tmp/pluto.log: No such file or directory
nic #
 
