testing/pluto/addresspool-6in6-strongswan-initiator-ikev2/westinit.sh
raw| 1 | /testing/guestbin/swan-prep --userland strongswan --46 |
| 2 | ../../guestbin/wait-until-alive 2001:db8:0:2::254 |
| 3 | ip6tables -A INPUT -i eth1 -s 2001:db8:0:2::254 -p ipv6-icmp -j DROP |
| 4 | ip6tables -I INPUT -m policy --dir in --pol ipsec -j ACCEPT |
| 5 | ../../guestbin/ping-once.sh --down 2001:db8:0:2::254 |
| 6 | ../../guestbin/strongswan-start.sh |
| 7 | echo "initdone" |