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

    OpenVPN route as a secondary preference

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 2.2k 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.
    • J
      jamesc
      last edited by

      Hi all,

      I'm looking to implement the following but not sure it will possible, im hoping someone can confirm

      Pfsense at data centre which is the open VPN server
      Static routes on the pfsense to route traffic for 5 different remote subnets to local MPLS router at the datacentre. All this works fine.

      I also want to present these 5 subnets as openvpn clients to the openvpn server. The idea is that if one of the MPLS links is down, pfsense will route over the openvpn tunnel instead.

      Is this possible at all?

      Thank you

      James

      1 Reply Last reply Reply Quote 0
      • J
        jamesc
        last edited by

        80 views and nobody knows the answer, surely somebody can help?  :'(

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          I did it with ipsec, you can try to edit this script to run with openvpn

          http://forum.pfsense.org/index.php/topic,42025.msg217019.html#msg217019

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            You'll need a routing protocol for that to work, and to exchange routes with the MPLS routers (usually via OSPF or BGP).

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