aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev1/nat-virtual-ip/pretest.dat
blob: 2c208d78eefc98dcd5ac2f4805b5e8da552c9f1a (plain)
1
2
3
4
5
6
7
8
9
moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
moon::conntrack -F
moon::echo 1 > /proc/sys/net/ipv4/ip_forward
moon::ipsec start
sun::ipsec start
moon::sleep 1 
moon::ipsec up net-net
moon::sleep 1