testing: Added swanctl/config-payload scenario

This commit is contained in:
Andreas Steffen
2016-01-14 06:31:28 +01:00
parent e7b5171e43
commit 67a38ac6f1
12 changed files with 219 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
moon::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
dave::iptables-restore < /etc/iptables.rules
moon::cat /etc/swanctl/swanctl_base.conf
moon::service charon start 2> /dev/null
carol::service charon start 2> /dev/null
dave::service charon start 2> /dev/null
moon::expect-connection rw-carol
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
dave::expect-connection home
dave::swanctl --initiate --child home 2> /dev/null