strongswan/testing/tests/ipv6/rw-compress-ikev2/pretest.dat

14 lines
555 B
Plaintext

moon::iptables-restore < /etc/iptables.drop
carol::iptables-restore < /etc/iptables.drop
moon::ip6tables-restore < /etc/ip6tables.rules
carol::ip6tables-restore < /etc/ip6tables.rules
# enable Path MTU Discovery
moon::ip6tables -I OUTPUT 1 -o eth1 -p icmpv6 --icmpv6-type 2 -j ACCEPT
alice::"ip route add fec0:\:/16 via fec1:\:1"
carol::"ip route add fec1:\:/16 via fec0:\:1"
moon::systemctl start strongswan-swanctl
carol::systemctl start strongswan-swanctl
moon::expect-connection rw
carol::expect-connection home
carol::swanctl --initiate --child home