1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
/testing/guestbin/swan-prep
east #
ip tunnel add test0 mode gre local 192.1.2.23 remote 192.1.2.45
east #
../../guestbin/ip.sh address add 172.29.1.2/24 dev test0
east #
../../guestbin/ip.sh 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 #
../../guestbin/ip.sh address add 172.29.1.3/24 dev test0
east #
ipsec auto --ready
listening for IKE messages
adding interface test0 172.29.1.3:UDP/500
adding interface test0 172.29.1.3:UDP/4500 (NAT)
"test2": oriented IKEv1 connection (local: right=172.29.1.3 remote: left=172.29.1.1)
"test3": connection matches both right test0 172.29.1.2 and left test0 172.29.1.3
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 #
|