How to Enable Local Traffic over IPsec Tunnel
I route all Internet traffic through an IPsec tunnel except the connection to the remote tunnel peer.
I have been able to get SSL VPN connections, FTM acknowledgements, SNMP, etc. working in this way however since upgrading from 6.0.14 to 6.0.15 I have not been able to get FTM acknowledgements and SNMP working, although the SSL VPN connection itself does, and I cannot identify why. I do not see anything that has changed other than upgrading.
I have validated the local traffic is hitting the implicit deny.
fg90d $ di de flow filter addr 172.16.0.100 fg90d $ di de flow filter dport 161 fg90d $ di de flow trace start 1000 fg90d $ di de en fg90d $ id=20085 trace_id=103 func=print_pkt_detail line=5529 msg="vd-root received a packet(proto=17, 1.2.3.4:56936->172.16.0.100:161) from Reverse-Proxy. " id=20085 trace_id=103 func=init_ip_session_common line=5693 msg="allocate a new session-00000612" id=20085 trace_id=103 func=vf_ip4_route_input line=1604 msg="find a route: flags=80000000 gw-172.16.0.100 via root"
I have validated there is in fact a (newly created after seeing the issue, as a troubleshooting step) local in policy that matches this traffic which should be allowing it.
fg90d $ show firewall local-in-policy config firewall local-in-policy edit 1 set intf "Reverse-Proxy" set srcaddr "all" set dstaddr "all" set action accept set service "ALL" set schedule "always" next edit 2 set intf "wan1" set srcaddr "all" set dstaddr "all" set action accept set service "ALL" set schedule "always" next end
I have validated the objects in use are not configured in a way other than what I expect, and that SNMP is enabled on wan1.
fg90d $ show system interface Reverse-Proxy config system interface edit "Reverse-Proxy" set vdom "root" set type tunnel set estimated-upstream-bandwidth 100000 set estimated-downstream-bandwidth 100000 set role wan set snmp-index 6 set interface "wan1" next end fg90d $ show system interface wan1 config system interface edit "wan1" set vdom "root" set ip 172.16.0.100 255.255.255.0 set allowaccess ping https ssh snmp ftm set type physical set alias "WAN" set estimated-upstream-bandwidth 100000 set estimated-downstream-bandwidth 100000 set role wan set snmp-index 1 next end fg90d $ show firewall address all config firewall address edit "all" set uuid caf1e28a-1dc9-51ed-2370-7ff1519e9b30 next end fg90d $ show firewall service custom ALL config firewall service custom edit "ALL" set category "General" set protocol IP next end
I have validated that a non-local in policy (which was sufficient before) is configured to allow this traffic.
fg90d $ show firewall policy 7 config firewall policy edit 7 set name "LibreNMS_to_FG90D_SNMP" set uuid ca072b8a-4ac6-51ed-121d-068c43fd588a set srcintf "Reverse-Proxy" set dstintf "wan1" set srcaddr "Web-Server" set dstaddr "FG90D_WAN" set action accept set schedule "always" set service "SNMP" set logtraffic all set fsso disable next end
I have validated these objects are configured in the way I expect.
fg90d $ show firewall address FG90D_WAN config firewall address edit "FG90D_WAN" set uuid ee3c3d46-3bb8-51ed-7daf-b3e57d78f113 set subnet 172.16.0.100 255.255.255.255 next end fg90d $ show firewall address Web-Server config firewall address edit "Web-Server" set uuid 94770698-480a-51ed-c20a-2350d2177167 set subnet 1.2.3.4 255.255.255.255 next end fg90d $ show firewall service custom SNMP config firewall service custom edit "SNMP" set category "Network Services" set tcp-portrange 161-162 set udp-portrange 161-162 next end
I have validated this traffic was being allowed before.

Am I missing something here?
