summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/nat-pf/pretest.dat
blob: fdb3de7111a13d9435831ec3856fa307b58d14cc (plain)
1
2
3
4
5
6
7
moon::echo 1 > /proc/sys/net/ipv4/ip_forward
moon::iptables -m multiport -t nat -A PREROUTING -i eth0 -p udp --dports 500,4500 -j DNAT --to 10.1.0.10
alice::ipsec start
carol::ipsec start
carol::sleep 1
carol::ipsec up home
carol::sleep 1