/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add east
"east/1x1": added IKEv2 connection
"east/1x2": added IKEv2 connection
"east/2x1": added IKEv2 connection
"east/2x2": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 # two remote subnets should have route with sourceip
east #
 ../../guestbin/ip.sh route list
default via 192.1.2.254 dev eth1 proto static
192.0.1.0/24 via 192.1.2.45 dev eth1 proto static onlink
192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254
192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23
east #
