]> git.ipfire.org Git - people/ms/strongswan.git/blobdiff - testing/tests/ikev2/nat-rw/pretest.dat
testing: Reorganizing IKEv1 and IKEv2 examples
[people/ms/strongswan.git] / testing / tests / ikev2 / nat-rw / pretest.dat
index 36d23b5704d593683a62caf30834163525d9ea02..a1f1cffea79e137c336077445409df93fa26e574 100644 (file)
@@ -3,11 +3,11 @@ venus::iptables-restore < /etc/iptables.rules
 sun::iptables-restore < /etc/iptables.rules
 moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p udp -j SNAT --to-source PH_IP_MOON:1024-1100
 moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to-source PH_IP_MOON:2000-2100
-sun::ipsec start
-alice::ipsec start
-venus::ipsec start
+sun::systemctl start strongswan
+alice::systemctl start strongswan
+venus::systemctl start strongswan
 sun::expect-connection nat-t
 alice::expect-connection nat-t
-alice::ipsec up nat-t
+alice::swanctl --initiate --child nat-t
 venus::expect-connection nat-t
-venus::ipsec up nat-t
+venus::swanctl --initiate --child nat-t