pretest.dat 492 B

123456789101112
  1. moon::iptables-restore < /etc/iptables.rules
  2. sun::iptables-restore < /etc/iptables.rules
  3. moon::/usr/local/libexec/ipsec/xfrmi -n xfrm-moon -i 42 -d eth0
  4. moon::ip link set xfrm-moon up
  5. moon::ip route add 10.2.0.0/16 dev xfrm-moon
  6. moon::iptables -A FORWARD -i xfrm-moon -j ACCEPT
  7. moon::iptables -A FORWARD -o xfrm-moon -j ACCEPT
  8. moon::systemctl start strongswan
  9. sun::systemctl start strongswan
  10. moon::expect-connection gw-gw
  11. sun::expect-connection gw-gw
  12. moon::swanctl --initiate --child net-net