dial-in VPN traffic routing problem
- December 8, 2017
- 1 reply
- 20012 views
Hi all,
OK, two sites, HQ and branch1. HQ has a static IP directly connected to the FGT, branch1 has a dynamic IP and NAT router in front of it. On one of the HQ subnets I have computers that need to access both the Internet (via HQ DG) and 2 subnets at branch1. I have set up a dial-in style IPSEC VPN and it is connecting just fine. I've added a policy from the HQ subnet to the branch1 subnets using the dial-up VPN interface as the dst if and created a reciprocal policy for incoming traffic using the dial-up interface as the src if. There are no UTM components (AV, IDS, etc.) configured on these policies. Since it's a dial-in VPN I cannot set static routes on the dial-in "server" (HQ FGT) but I do have a static route on branch1's FGT to the HQ subnet via the VPN tunnel.
From a laptop at branch1 I can access resources behind HQ's FGT. From the console on HQ's FGT I can ping resources behind branch1's FGT. However, when I try to access resources at branch1 from a laptop on HQ's subnet, no joy...I don't even see traffic when running the sniffer on HQ's FGT. I can confirm that the tunnel is up and again, if I set source on the HQ console and ping the branch1 resource, it replies.
After working thru the forum I found this command "diag debug flow trace start 1000" which I ran - looks like the ping attempt is being processed by the firewall policy that handles normal Internet traffic for that subnet and not the policy that would allow it into the tunnel (WAN IP hidden):
(image attached)
In the snippet above, I see "ifindex-9" which correlates to my WAN port. "Policy 69" is the policy that allows traffic from this subnet to the Internet; the policy ID's for VPN traffic to/from branch1 are 76/87, respectively so it seems that the FGT is finding the first policy that works and trying to route. I can't move the tunnel policy higher since it uses the dial-in interface so a bit stuck at the moment.
Any help is appreciated, thanks in advance.