iptables -t nat -F
nic #
 iptables -F
nic #
 ip addr add 192.1.3.130/24 dev eth2
nic #
 # Destination NAT to east's address not the port
nic #
 iptables -t nat -A PREROUTING -d 192.1.3.130 -j DNAT --to-destination 192.1.2.23
nic #
 # A tunnel should have established with non-zero byte counters
nic #
 hostname | grep nic > /dev/null || ipsec trafficstatus
nic #
 ../../guestbin/ipsec-kernel-state.sh
nic #
 ../../guestbin/ipsec-kernel-policy.sh
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 #
 
