Route all traffic through VPN (with some exceptions)
-
Currently, I have a site-to-site OpenVPN setup that when activated, redirects all traffic through the VPN. I've created an alias for WAN ports and an alias for allowed ports, as well as the associated firewall rules. Currently, when the VPN is active, all outbound traffic that matches the ports in the allowed ports alias is routed through the VPN. When the VPN goes down or is turned off, the ports in the alias are routed through the WAN. The ports in the WAN ports alias are always routed through the WAN no matter what.
What I'd like to do is setup a rule or a set of rules so that when the VPN is up, everything is routed through the VPN. When the VPN is down, all ports in the allowed ports alias are blocked from the internet (WAN). Is that possible to do with pfSense? I looked at floating rules, but I can't seem to get that to work.
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