11 lines
685 B
Plaintext
11 lines
685 B
Plaintext
sun::ipsec statusall::rw-alice.*ESTABLISHED::YES
|
|
alice::ipsec statusall::home.*ESTABLISHED::YES
|
|
moon::cmd::iptables -t nat -F::YES
|
|
moon::cmd::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p udp -j SNAT --to-source PH_IP_MOON:3024-3100::YES
|
|
moon::cmd::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to-source PH_IP_MOON:4000-4100::YES
|
|
moon::cmd::conntrack -F::YES
|
|
alice::cmd::sleep 75::YES
|
|
bob::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
|
|
moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.ipsec-nat-t: UDP, length: 132::YES
|
|
moon::tcpdump::IP sun.strongswan.org.ipsec-nat-t > moon.strongswan.org.*: UDP, length: 132::YES
|