/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
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 timeout_on_retransmit
east #
 ipsec auto --add east-any
"east-any": added IKEv1 connection
east #
 echo initdone
initdone
east #
 hostname | grep east > /dev/null && ipsec whack --trafficstatus
#2: "east-any"[2] 192.1.3.33, username=xnorth, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, lease=192.0.2.101/32
east #
 hostname | grep east > /dev/null && ipsec stop
Redirecting to: [initsystem]
east #
 
