summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/passthrough/pretest.dat
blob: 2606db192bb41b718dc9d2650b4f09defdac843c (plain)
1
2
3
4
5
6
7
8
moon::/etc/init.d/iptables start 2> /dev/null
sun::/etc/init.d/iptables start 2> /dev/null
moon::iptables -I INPUT  -i eth1 -s 10.1.0.0/16 -j ACCEPT
moon::iptables -I OUTPUT -o eth1 -d 10.1.0.0/16 -j ACCEPT
moon::ipsec start
sun::ipsec start
moon::sleep 2
moon::ipsec up net-net