summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/dynamic-initiator/pretest.dat
blob: 92681011fe2dd13f9565462911938b8dba199651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
moon::/etc/init.d/iptables start 2> /dev/null
carol::/etc/init.d/iptables start 2> /dev/null
dave::/etc/init.d/iptables start 2> /dev/null
carol::ipsec start
dave::ipsec start
moon::ipsec start
carol::sleep 2
carol::ipsec up moon
carol::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