pretest.dat 445 B

123456789101112
  1. moon::iptables-restore < /etc/iptables.rules
  2. moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -j MASQUERADE
  3. moon::iptables -A FORWARD -i eth1 -o eth0 -s 10.1.0.0/16 -j ACCEPT
  4. moon::iptables -A FORWARD -i eth0 -o eth1 -d 10.1.0.0/16 -j ACCEPT
  5. sun::ipsec start
  6. alice::ipsec start
  7. venus::ipsec start
  8. sun::expect-connection nat-t
  9. alice::expect-connection nat-t
  10. alice::ipsec up nat-t
  11. venus::expect-connection nat-t
  12. venus::ipsec up nat-t