pretest.dat 542 B

12345678910111213
  1. alice::iptables-restore < /etc/iptables.rules
  2. venus::iptables-restore < /etc/iptables.rules
  3. sun::iptables-restore < /etc/iptables.rules
  4. moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p udp -j SNAT --to-source PH_IP_MOON:1024-1100
  5. moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to-source PH_IP_MOON:2000-2100
  6. sun::ipsec start
  7. alice::ipsec start
  8. venus::ipsec start
  9. sun::expect-connection nat-t
  10. alice::expect-connection nat-t
  11. alice::ipsec up nat-t
  12. venus::expect-connection nat-t
  13. venus::ipsec up nat-t