/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
road #
 cp policies/* /etc/ipsec.d/policies/
road #
 ../../guestbin/ip.sh address add 192.1.3.210/24 dev eth0
road #
 ipsec start
Redirecting to: [initsystem]
road #
 ../../guestbin/wait-until-pluto-started
road #
 # give OE policies time to load
road #
 ../../guestbin/wait-for.sh --match 'loaded 12' -- ipsec auto --status
Total IPsec connections: loaded 12, active 0
road #
 echo "initdone"
initdone
road #
 # ping my own ips
road #
 ../../guestbin/ping-once.sh --up -I 192.1.3.209 192.1.3.209
up
road #
 sleep 3
road #
 ../../guestbin/ping-once.sh --up -I 192.1.3.209 192.1.3.210
up
road #
 sleep 3
road #
 ../../guestbin/ping-once.sh --up -I 127.0.0.1 127.0.0.1
up
road #
 sleep 3
road #
 ipsec whack --shuntstatus
Bare Shunt list:
 
road #
 echo done
done
road #
 ../../guestbin/ipsec-kernel-state.sh
road #
 ../../guestbin/ipsec-kernel-policy.sh
src 192.1.2.253/32 dst 192.1.3.209/32
	dir fwd priority PRIORITY ptype main
src 192.1.2.253/32 dst 192.1.3.209/32
	dir in priority PRIORITY ptype main
src 192.1.2.254/32 dst 192.1.3.209/32
	dir fwd priority PRIORITY ptype main
src 192.1.2.254/32 dst 192.1.3.209/32
	dir in priority PRIORITY ptype main
src 192.1.3.209/32 dst 192.1.2.253/32
	dir out priority PRIORITY ptype main
src 192.1.3.209/32 dst 192.1.2.254/32
	dir out priority PRIORITY ptype main
src 192.1.3.209/32 dst 192.1.3.253/32
	dir out priority PRIORITY ptype main
src 192.1.3.209/32 dst 192.1.3.254/32
	dir out priority PRIORITY ptype main
src 192.1.3.253/32 dst 192.1.3.209/32
	dir fwd priority PRIORITY ptype main
src 192.1.3.253/32 dst 192.1.3.209/32
	dir in priority PRIORITY ptype main
src 192.1.3.254/32 dst 192.1.3.209/32
	dir fwd priority PRIORITY ptype main
src 192.1.3.254/32 dst 192.1.3.209/32
	dir in priority PRIORITY ptype main
src 192.1.3.209/32 dst 192.1.2.0/24
	dir out priority PRIORITY ptype main
	tmpl src 0.0.0.0 dst 0.0.0.0
		proto esp reqid 0 mode transport
src 192.1.3.209/32 dst 192.1.3.0/24
	dir out priority PRIORITY ptype main
	tmpl src 0.0.0.0 dst 0.0.0.0
		proto esp reqid 0 mode transport
road #
 
