testing: Converted ipv6/host2host-ikev1 to swanctl

This commit is contained in:
Andreas Steffen
2017-11-10 11:49:39 +01:00
parent 0a6f8644ef
commit 087b027f88
11 changed files with 111 additions and 86 deletions
@@ -2,8 +2,9 @@ moon::iptables-restore < /etc/iptables.drop
sun::iptables-restore < /etc/iptables.drop
moon::ip6tables-restore < /etc/ip6tables.rules
sun::ip6tables-restore < /etc/ip6tables.rules
moon::ipsec start
sun::ipsec start
moon::expect-connection host-host
moon::systemctl start strongswan-swanctl
sun::systemctl start strongswan-swanctl
sun::expect-connection host-host
moon::ipsec up host-host
moon::expect-connection host-host
moon::swanctl --initiate --child host-host 2> /dev/null
moon::sleep 1