--- north.console.txt 2019-08-24 18:12:56.315672445 +0000 +++ OUTPUT/north.console.txt 2019-08-26 13:21:06.598481837 +0000 @@ -124,7 +124,7 @@ 000 "block": policy: AUTH_NEVER+GROUP+GROUTED+REJECT+NEVER_NEGOTIATE; 000 "block": conn_prio: 32,32; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "block": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no; -000 "block": our idtype: ID_IPV4_ADDR; our id=192.1.3.33; their idtype: %none; their id=(none) +000 "block": our idtype: ID_IPV4_ADDR; our id=%any; their idtype: %none; their id=(none) 000 "block": dpd: action:disabled; delay:0; timeout:0; nat-t: encaps:no; nat_keepalive:no; ikev1_natt:both 000 "block": newest ISAKMP SA: #0; newest IPsec SA: #0; 000 "clear": 192.1.3.33---192.1.3.254...%group; unrouted; eroute owner: #0 @@ -140,7 +140,7 @@ 000 "clear": policy: AUTH_NEVER+GROUP+GROUTED+PASS+NEVER_NEGOTIATE; 000 "clear": conn_prio: 32,32; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "clear": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no; -000 "clear": our idtype: ID_IPV4_ADDR; our id=192.1.3.33; their idtype: %none; their id=(none) +000 "clear": our idtype: ID_IPV4_ADDR; our id=%any; their idtype: %none; their id=(none) 000 "clear": dpd: action:disabled; delay:0; timeout:0; nat-t: encaps:no; nat_keepalive:no; ikev1_natt:both 000 "clear": newest ISAKMP SA: #0; newest IPsec SA: #0; 000 "clear#192.1.2.253/32": 192.1.3.33---192.1.3.254...%any; prospective erouted; eroute owner: #0 @@ -156,7 +156,7 @@ 000 "clear#192.1.2.253/32": policy: AUTH_NEVER+GROUPINSTANCE+PASS+NEVER_NEGOTIATE; 000 "clear#192.1.2.253/32": conn_prio: 32,32; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "clear#192.1.2.253/32": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no; -000 "clear#192.1.2.253/32": our idtype: ID_IPV4_ADDR; our id=192.1.3.33; their idtype: %none; their id=(none) +000 "clear#192.1.2.253/32": our idtype: ID_IPV4_ADDR; our id=%any; their idtype: %none; their id=(none) 000 "clear#192.1.2.253/32": dpd: action:disabled; delay:0; timeout:0; nat-t: encaps:no; nat_keepalive:no; ikev1_natt:both 000 "clear#192.1.2.253/32": newest ISAKMP SA: #0; newest IPsec SA: #0; 000 "clear#192.1.3.253/32": 192.1.3.33---192.1.3.254...%any; prospective erouted; eroute owner: #0 @@ -172,7 +172,7 @@ 000 "clear#192.1.3.253/32": policy: AUTH_NEVER+GROUPINSTANCE+PASS+NEVER_NEGOTIATE; 000 "clear#192.1.3.253/32": conn_prio: 32,32; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "clear#192.1.3.253/32": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no; -000 "clear#192.1.3.253/32": our idtype: ID_IPV4_ADDR; our id=192.1.3.33; their idtype: %none; their id=(none) +000 "clear#192.1.3.253/32": our idtype: ID_IPV4_ADDR; our id=%any; their idtype: %none; their id=(none) 000 "clear#192.1.3.253/32": dpd: action:disabled; delay:0; timeout:0; nat-t: encaps:no; nat_keepalive:no; ikev1_natt:both 000 "clear#192.1.3.253/32": newest ISAKMP SA: #0; newest IPsec SA: #0; 000 "clear#192.1.3.254/32": 192.1.3.33---192.1.3.254...%any; prospective erouted; eroute owner: #0 @@ -188,7 +188,7 @@ 000 "clear#192.1.3.254/32": policy: AUTH_NEVER+GROUPINSTANCE+PASS+NEVER_NEGOTIATE; 000 "clear#192.1.3.254/32": conn_prio: 32,32; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none; 000 "clear#192.1.3.254/32": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no; -000 "clear#192.1.3.254/32": our idtype: ID_IPV4_ADDR; our id=192.1.3.33; their idtype: %none; their id=(none) +000 "clear#192.1.3.254/32": our idtype: ID_IPV4_ADDR; our id=%any; their idtype: %none; their id=(none) 000 "clear#192.1.3.254/32": dpd: action:disabled; delay:0; timeout:0; nat-t: encaps:no; nat_keepalive:no; ikev1_natt:both 000 "clear#192.1.3.254/32": newest ISAKMP SA: #0; newest IPsec SA: #0; 000 "clear-or-private": 192.1.3.33[ID_NULL,+MC+CAT+S=C]---192.1.3.254...%opportunisticgroup[ID_NULL,MS+S=C]; unrouted; eroute owner: #0 @@ -269,12 +269,8 @@ north # ping -n -c 4 -I 192.1.3.33 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.33 : 56(84) bytes of data. -64 bytes from 192.1.2.23: icmp_seq=2 ttl=63 time=0.XXX ms -64 bytes from 192.1.2.23: icmp_seq=3 ttl=63 time=0.XXX ms -64 bytes from 192.1.2.23: icmp_seq=4 ttl=63 time=0.XXX ms --- 192.1.2.23 ping statistics --- -4 packets transmitted, 3 received, 25% packet loss, time XXXX -rtt min/avg/max/mdev = 0.XXX/0.XXX/0.XXX/0.XXX ms +4 packets transmitted, 0 received, 100% packet loss, time XXXX north # ping -n -c 4 -I 192.1.3.33 192.1.2.45 PING 192.1.2.45 (192.1.2.45) from 192.1.3.33 : 56(84) bytes of data. @@ -290,7 +286,7 @@ initdone north # ipsec whack --trafficstatus -006 #2: "private-or-clear#192.1.3.209/32"[1] ...192.1.3.209, type=ESP, add_time=1234567890, inBytes=252, outBytes=252, id='ID_NULL' +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) north # iptables -t nat -L -n Chain PREROUTING (policy ACCEPT) @@ -305,14 +301,6 @@ ../../pluto/bin/ipsec-look.sh north NOW XFRM state: -src 192.1.3.209 dst 192.1.3.33 - proto esp spi 0xSPISPI reqid REQID mode tunnel - replay-window 32 flag af-unspec - aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 -src 192.1.3.33 dst 192.1.3.209 - proto esp spi 0xSPISPI reqid REQID mode tunnel - replay-window 32 flag af-unspec - aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 XFRM policy: src 192.1.2.253/32 dst 192.1.3.33/32 dir fwd priority 1564639 ptype main @@ -332,27 +320,16 @@ dir out priority 1564639 ptype main src 192.1.3.33/32 dst 192.1.3.254/32 dir out priority 1564639 ptype main -src 192.1.3.209/32 dst 192.1.3.33/32 - dir fwd priority 2088927 ptype main - tmpl src 192.1.3.209 dst 192.1.3.33 - proto esp reqid REQID mode tunnel -src 192.1.3.209/32 dst 192.1.3.33/32 - dir in priority 2088927 ptype main - tmpl src 192.1.3.209 dst 192.1.3.33 - proto esp reqid REQID mode tunnel src 192.1.3.33/32 dst 192.1.3.209/32 dir out priority 2088927 ptype main - tmpl src 192.1.3.33 dst 192.1.3.209 - proto esp reqid REQID mode tunnel + tmpl src 0.0.0.0 dst 0.0.0.0 + proto esp reqid REQID mode transport XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.3.254 dev eth1 -192.0.1.0/24 via 192.1.3.254 dev eth1 -192.0.2.0/24 via 192.1.3.254 dev eth1 192.0.3.0/24 dev eth0 proto kernel scope link src 192.0.3.254 -192.1.2.0/24 via 192.1.3.254 dev eth1 192.1.3.0/24 dev eth1 proto kernel scope link src 192.1.3.33 NSS_CERTIFICATES Certificate Nickname Trust Attributes