How do I send only specific domains through VPN
Hello,
I have a question regarding sending specific traffic through VPN and how to set it up.
- I have set up a VPN connection between two firewallas. Firewalla A (vpn server) and Firewalla B (off-site).
- Right now, with default setup, all internet traffic from B is routed through to A.
BUT. I want to only send specific domains and ports through the VPN. - I created a route on B, to route certain domain+ports to the VPN I created.
- But how do I make sure that all the other traffic is NOT routed through B?
Do I need to create another route such as:
Traffic to internet - > All devices -> WAN (not vpn) -> Static
Would this rule work side by side the other route? Or would any of the routes overwrite each other?
Edit1: I have implemented the rules above, but when looking at the flows, it seems to be totally random if whatever adresses go through the VPN or not. It seems to me like they are in conflict and chooses WAN / VPN at random.
I have tried restarting the firewalla B and restarted the VPN server and Client.
-
With the routes I have shared in my first post. I would expect only the ports 500 and 4500 and 3gppnetwork.org to go through the VPN. But it sends everything else through the VPN too.
And then randomly, sends something outside the VPN.
Maybe I am doing something wrong with the original setup. I only want 500, 4500 and 3gppnetwork.org to go through the VPN. Nothing else.
Please sign in to leave a comment.
Comments
3 comments