/testing/guestbin/swan-prep
east #
 ip tunnel add test0 mode gre local 192.1.2.23 remote 192.1.2.45
east #
 ip addr add 172.29.1.2/24 dev test0
east #
 ip link set dev test0 up
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add test1
"test1": added IKEv1 connection
east #
 ipsec auto --add test2
"test2": added unoriented IKEv1 connection (neither left=172.29.1.1 nor right=172.29.1.3 match an interface)
east #
 ipsec auto --add test3
"test3": added IKEv1 connection
east #
 ipsec auto --ready
listening for IKE messages
forgetting secrets
loading secrets from "/etc/ipsec.secrets"
east #
 ip addr add 172.29.1.3/24 dev test0
east #
 ipsec auto --ready
listening for IKE messages
adding UDP interface test0 172.29.1.3:500
adding UDP interface test0 172.29.1.3:4500
"test3": connection matches both right test0 172.29.1.2 and left test0 172.29.1.3
"test2": oriented IKEv1 connection (local: right=172.29.1.3  remote: left=172.29.1.1)
forgetting secrets
loading secrets from "/etc/ipsec.secrets"
east #
 ipsec auto --ready
listening for IKE messages
forgetting secrets
loading secrets from "/etc/ipsec.secrets"
east #
 
