| 1 |
/testing/guestbin/swan-prep --46 --hostkeys |
| 2 |
# confirm that the network is alive |
| 3 |
ping6 -n -q -c 4 -I 2001:db8:1:3::209 2001:db8:1:2::23 |
| 4 |
ip6tables -A INPUT -i eth0 -s 2001:db8:1:2::23 -p ipv6-icmp --icmpv6-type echo-reply -j DROP |
| 5 |
ip6tables -I INPUT -m policy --dir in --pol ipsec -j ACCEPT |
| 6 |
# confirm clear text does not get through |
| 7 |
ping6 -n -q -c 4 -I 2001:db8:1:3::209 2001:db8:1:2::23 |
| 8 |
ipsec start |
| 9 |
../../guestbin/wait-until-pluto-started |
| 10 |
ipsec auto --add v6-transport |
| 11 |
ipsec auto --status |grep v6-transport |
| 12 |
echo "initdone" |