VPN Traffic Not Leaving FortiGate
I'm working on setting up an IPSEC VPN tunnel between a remote cellular router (Digi TX64) and the FortiGate 300E at our headquarters.
I've got the tunnel up and stable, but can't seem to get traffic to flow properly. If I run a ping from a device behind the Digi to a device behind the FortiGate, I can run packet sniffer on the FortiGate and see the ping packets coming into the FortiGate from the VPN interface, but I never see them leave the FortiGate to go on to the actual host.
Once I get the formula for this sorted out, I get to duplicate it about 180 times for routers across our bus fleet. All of the bus routers use the same 192.168.x.0/24 internal subnet, so I need to NAT the traffic as it is passing through the FortiGate into our main network, and then reverse that as it passes back through the FortiGate to return to the bus. I also need to ensure that NAT is always one-to-one such that traffic from a specific 192.168.x.0 address will always translate to the same address and vice versa.
I've pasted the relevant config snippets below. Guessing it's something simple that I'm not seeing, so would appreciate some fresh eyes.
config firewall policy
edit 141
set name "From-Coach-2xxx"
set uuid 53513b9a-eb35-51ef-7e8b-5acxxxxxxxx
set srcintf "Coach-2xxx-VPN"
set dstintf "LAN-ZONE"
set action accept
set srcaddr "all"
set dstaddr "all"
set schedule "always"
set service "ALL"
set utm-status enable
set ssl-ssh-profile "SSL-INSPECTION"
set av-profile "default"
set dnsfilter-profile "default"
set application-list "Monitor-and-Block-Botnets"
set nat enable
set fixedport enable
set ippool enable
set poolname "Coach-2xxx-Inbound"
next
end
config firewall policy
edit 142
set name "To-Coach-2xxx"
set uuid b642e94c-eb35-51ef-d7ab-f545xxxxxxxx
set srcintf "LAN-ZONE"
set dstintf "Coach-2xxx-VPN"
set action accept
set srcaddr "all"
set dstaddr "Coach-2xxx-Outbound"
set schedule "always"
set service "ALL"
set utm-status enable
set ssl-ssh-profile "INSPECTION"
set av-profile "default"
set dnsfilter-profile "default"
set application-list "Monitor-and-Block-Botnets"
next
end
config firewall vip
edit "Coach-2xxx-Outbound"
set uuid 0bb2482e-eb35-51ef-f975-c48axxxxxxxx
set extip 10.2x.5x.0-10.2x.5x.255
set mappedip "192.168.x.0-192.168.x.255"
set extintf "any"
set nat-source-vip enable
set color 19
next
end
config firewall ippool
edit "Coach-2xxx-Inbound"
set type one-to-one
set startip 10.2x.5x.0
set endip 10.2x.5x.255
next
end
config router static
edit 18
set dst 10.2x.5x.0 255.255.255.0
set distance 1
set device "Coach-2xxx-VPN"
next
end
