/testing/guestbin/swan-prep
east #
 echo "xnorth:xOzlFlqtwJIu2:east-any:192.0.2.101" > /etc/ipsec.d/passwd
east #
 echo "xroad:xOzlFlqtwJIu2:east-any:192.0.2.101-192.0.2.200" >> /etc/ipsec.d/passwd
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec whack --impair delete-on-retransmit
east #
 ipsec auto --add east-any
002 "east-any": added IKEv1 connection
east #
 echo initdone
initdone
east #
 hostname | grep east > /dev/null && ipsec whack --trafficstatus
006 #2: "east-any"[2] 192.1.3.33, username=xnorth, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, lease=192.0.2.101/32
east #
 hostname | grep east > /dev/null && ipsec stop
Redirecting to: [initsystem]
east #
 
