Routing to VPN gateway not working after update to 2.9
-
We have 2 pfsense firewall with an IPSec tunnel between, after upgrading to version 2.9 the rules we had in place to push traffic across the VPN tunnel using the gateway function no longer work. If we run packet captures on the sending side of the tunnel we see the traffic enter the tunnel but the traffic is not seen on the other end leaving the tunnel and there are no logs for this traffic in the firewall logs.
As a work around we have configured the default route on the firewall to be the VPN gateway and then configure all rules we do not want to go through the tunnel to use the local web gateway, this is working which indicates the vpn tunnel is working fine.
-
Hmm, so one side appears to be routing traffic into the tunnel as expected but it never arrives at the other end?
Or do replies not go back across the tunnel?
-
@stephenw10 The traffic never arrives at the other end of the tunnel.
-
Hmm, OK. It's a VTI (route based) tunnel I assume?
How were you doing the routing? Static routes to the remote subnets? Policy-routing traffic?
Also how are you capping the traffic leaving over the tunnel? I'd guess it's not actually leaving but just appears to be. You could try pcaping the encrypted traffic leaving the WAN whilst sending something recognisable like some large pings. See if you see it on the WAN. And if that arrives at the far side WAN.
-
@stephenw10
It is indeed a VTI tunnel. We use static routes to remote subnets and the firewall rules to route traffic to particular gateways. We were then capturing the packets leaving the tunnel.
The rule for devices going across the tunnel that need to use the remote internet had a inverted rule for the local subnets to route across the tunnel, so all other than the local will go via the tunnel. -
Do you have more than one tunnel defined?
It's possible to see traffic routed to the ipsec daemon in a pcap but that it uses the wrong tunnel for example. Depending on where you're capturing.
What version did you upgrade from where this was working?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy