/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
east #
 ../../guestbin/ip.sh route del 192.0.1.0/24
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-ipv4-psk-ikev2
"westnet-eastnet-ipv4-psk-ikev2": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 sleep 2
east #
 ../../guestbin/ipsec-kernel-state.sh
east #
 ../../guestbin/ipsec-kernel-policy.sh
east #
 # confirm east is in unrouted state again
east #
 hostname | grep east > /dev/null && ipsec status | grep "[.][.][.]"
"westnet-eastnet-ipv4-psk-ikev2": 192.0.2.0/24===192.1.2.23[@east]...192.1.2.45[@west]===192.0.1.0/24; unrouted; my_ip=unset; their_ip=unset;
east #
 
