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 #
 hostname | grep nic > /dev/null || ipsec whack --trafficstatus
nic #
 # you should see both RSA and NULL
nic #
 hostname | grep nic > /dev/null || grep -e 'auth method: ' -e 'hash algorithm identifier' -e "^[^|].*: established IKE SA" /tmp/pluto.log
nic #
 
