# pfctl -snno nat proto carp allnat-anchor "natearly/*" allnat-anchor "natrules/*" allnat on pppoe0 inet from 127.0.0.0/8 to any port = isakmp -> 182.70.11.137 static-portnat on pppoe0 inet from 192.168.1.0/24 to any port = isakmp -> 182.70.11.137 static-portnat on pppoe0 inet from 192.168.2.0/24 to any port = isakmp -> 182.70.11.137 static-portnat on pppoe0 inet from 127.0.0.0/8 to any -> 182.70.11.137 port 1024:65535nat on pppoe0 inet from 192.168.1.0/24 to any -> 182.70.11.137 port 1024:65535nat on pppoe0 inet from 192.168.2.0/24 to any -> 182.70.11.137 port 1024:65535no rdr proto carp allrdr-anchor "relayd/*" allno rdr on igb0 proto tcp from any to (igb0) port = httpno rdr on igb0 proto tcp from any to (igb0) port = sshrdr-anchor "miniupnpd" all
My issue is that all inter-LAN access at Site A is lost when the tunnel goes up.Machines in LAN A cannot ping or access machines in the same LAN. Same for LAN B.While none of the LAN machines can ping each other, all traffic is correctly sent out via Site B.
Where do I start to troubleshoot this?
Is there any documentation to migrating this setup from IKEv1 PSK to IKEv2 RSA pubkey?
Perhaps of useful note is the fact that road warrior RSA pubkey auth works fine at both sites.
root@opnsense:~ # ipsec statusSecurity Associations (0 up, 0 connecting): noneroot@opnsense:~ # ping -qc4 192.168.1.2PING 192.168.1.2 (192.168.1.2): 56 data bytes--- 192.168.1.2 ping statistics ---4 packets transmitted, 4 packets received, 0.0% packet lossround-trip min/avg/max/stddev = 0.300/0.369/0.445/0.052 msroot@opnsense:~ # traceroute -m 5 -i igb0 -I 192.168.1.2traceroute to 192.168.1.2 (192.168.1.2), 5 hops max, 48 byte packets 1 192.168.1.2 (192.168.1.2) 0.485 ms 0.254 ms 0.204 msroot@opnsense:~ #
root@opnsense:~ # ipsec statusRouted Connections: con1{1}: ROUTED, TUNNEL, reqid 1 con1{1}: 192.168.1.0/24 === 0.0.0.0/0Security Associations (1 up, 1 connecting): (unnamed)[2]: CONNECTING, 111.120.36.160[%any]...155.99.25.7[%any] con1[1]: ESTABLISHED 18 seconds ago, 111.120.36.160[C=US, ST=NYC, L=ALB, O=PSTO PKI/emailAddress=xxx@xxxxx.xx, CN=xxx.xxxxx.xx]...155.99.25.7[155.99.25.7] con1{2}: INSTALLED, TUNNEL, reqid 1, ESP SPIs: xxxx519a_i xxxxd40b_o con1{2}: 192.168.1.0/24 === 0.0.0.0/0root@opnsense:~ # ping -qc4 192.168.1.2PING 192.168.1.2 (192.168.1.2): 56 data bytes--- 192.168.1.2 ping statistics ---4 packets transmitted, 0 packets received, 100.0% packet lossroot@opnsense:~ # traceroute -m 5 -i igb0 -I 192.168.1.2traceroute to 192.168.1.2 (192.168.1.2), 5 hops max, 48 byte packets 1 * * * 2 * * * 3 * * * 4 * * * 5 * * *root@opnsense:~ #