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

    Routing clients through different VPN connections?

    OpenVPN
    2
    3
    479
    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.
    • G
      gridrunner
      last edited by

      Hi,
      I have successfully setup an OpenVPN connection to PIA (private internet access).
      I can route clients through this or through the regular WAN using firewall rules

      Now I set up a second OpenVPN connection to a different PIA endpoint.

      Could anyone point me in the right direction to be able to route clients through either VPN or regular wan
      ie

      192.168.1.10  to vpn1 (newyork)
      192.168.1.20  to vpn2 (london)
      192.168.1.30  to wan  (regular isp)

      Any help is really appreciated. many thanks

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        https://www.infotechwerx.com/blog/Creating-pfSense-Connection-VPNBook

        Make a second connection just like that and policy route what you want out of the different gateways, either vpn1, vpn2, or no gateway for the WAN (default gateway)

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • G
          gridrunner
          last edited by

          @Derelict:

          https://www.infotechwerx.com/blog/Creating-pfSense-Connection-VPNBook

          Make a second connection just like that and policy route what you want out of the different gateways, either vpn1, vpn2, or no gateway for the WAN (default gateway)

          Thankyou Derelict that was a great help. Really appreciate it. I have everything working now as i want.  :)

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