pretest.dat 444 B

12345678910
  1. alice::ifup eth1
  2. alice::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. alice::ipsec start
  7. sun::ipsec start
  8. alice::expect-connection mobike
  9. sun::expect-connection mobike
  10. alice::ipsec up mobike