summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/dynamic-responder/pretest.dat
blob: 8dc744f9ab0d0501729374ea616f52e6418aecab (plain)
1
2
3
4
5
6
7
8
9
10
11
carol::iptables-restore < /etc/iptables.rules
carol::ipsec start
dave::ipsec start
moon::ipsec start
moon::sleep 2
moon::ipsec up carol
moon::sleep 1
carol::iptables -D INPUT  -i eth0 -p udp --dport 500 --sport 500 -j ACCEPT
carol::iptables -D OUTPUT -o eth0 -p udp --dport 500 --sport 500 -j ACCEPT
dave::ipsec up moon
dave::sleep 2