aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ipv6/net2net-ip6-in-ip4-ikev1/pretest.dat
blob: 58be2992f1047724b3861a8a8f03cc1a90979fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
moon::ip6tables-restore < /etc/ip6tables.rules
sun::ip6tables-restore < /etc/ip6tables.rules
alice::"ip route add fec2:\:/16 via fec1:\:1"
moon::"ip route add fec2:\:/16 via fec0:\:2"
sun::"ip route add fec1:\:/16 via fec0:\:1"
bob::"ip route add fec1:\:/16 via fec2:\:1"
moon::systemctl start strongswan-swanctl
sun::systemctl start strongswan-swanctl
moon::expect-connection net-net
sun::expect-connection net-net
moon::swanctl --initiate --child net-net
moon::sleep 1