testing: Add swanctl/net2net-gw scenario

This commit is contained in:
Tobias Brunner
2016-04-09 16:51:00 +02:00
committed by Andreas Steffen
parent 23f25f9647
commit 638b4638e3
11 changed files with 204 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
moon::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
moon::service charon start 2> /dev/null
sun::service charon start 2> /dev/null
carol::service charon start 2> /dev/null
carol::expect-connection gw-moon
carol::expect-connection gw-sun
moon::expect-connection gw-gw
moon::swanctl --initiate --child net-net 2> /dev/null
sun::expect-connection gw-gw
sun::swanctl --initiate --child net-net 2> /dev/null