Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Persistant VPN with whitelist

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 856 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tepsus
      last edited by

      Is there a way to make all my WAN traffic be routed through a VPN connection that is persistant. Meaning, I've bought a VPN account for 60 bucks a year that has more than 30 servers worldwide. But sometimes a server can be down, I select another one and I'm connected again.
      Except I don't want to do this per device anymore but centrally from a PFsense box.

      Can I tell PFsense to not let me use the internet unless I'm connected through a VPN and give it a list of servers to try.

      But some traffic I actually don't want to routed through this VPN connection, my ISP also delivers TV and I can watch TV with my iPad if I'm connected on there network. So a whitelist would be necessary for this.

      Is this possible? This for me would be the prime reason to use PFsense, in the post Snowden revelations world I think this is must.

      1 Reply Last reply Reply Quote 0
      • D
        DWAyotte
        last edited by

        I am doing basically the reverse of what you are doing. Check this out for an idea on what needs to happen: https://forum.pfsense.org/index.php/topic,29944.0.html

        You can create rules that are based on Aliases, hosts, network range, etc. That can re-route your traffic however you define. You just have to setup the interface and gateway correctly.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.