Route Internet Traffic over S2S VPN
-
Hi,
I've got a S2S VPN between 2 PFSense boxes, which each have their own internet connections via PPPoE.
I want to be able to route all traffic from site B through the external internet connection of Site A - however, no matter what I do (I've even installed 2 vyos routers to route 0.0.0.0/0 via Site A) the PFSense box at Site B still routes the traffic out of its local PPPoE connection.
Is it possible to stop this behaviour and route internet traffic through the VPN and out of Site A?
Thanks
-
Use OpenVPN for that. If you REALLY want to use IPsec, use a VTI.
-
Thanks @Derelict ,
I've reconfigured both ends as a VTI now, and I can route between the two ends just fine, however, when the traffic from site b hits the PFSense box - its routing it out of its local PPPoE connection.
I think the issue is that because the IPSec Interface is virtual - I can't connect any other device to it - so I naturally have to send all traffic through another interface, on the PFSense box in order to hop over to the IPSec interface - and it defaults it out the PPPoE connection.
Any other ideas? Could I bridge the 'physical' (vmnet3) interface with the IPsec Interface?
-
No bridge. Policy route your internet traffic out the VTI.
Just like any other "VPN as WAN" solution like OpenVPN.
You will need to NAT for the source addresses on the side that has the internet WAN being used.
https://www.youtube.com/watch?v=lp3mtR4j3Lw
-
Perfect works a treat, thank you @Derelict
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