Navigation

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

    Pfsnese as openvpn client - failover

    OpenVPN
    3
    4
    1269
    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.
    • M
      makbet last edited by

      my pfsense is an openvpn client and it connects to my openvpn server. i want to setup second openvpn server, so if the first one will become inaccessible pfsense will automatically failover to the second server. Basically I'm looking for a way of making below openvpn client config to work on pfsense, ist that possible?

      dev tun
      persist-tun
      persist-key
      proto udp
      cipher AES-256-CBC
      tls-client
      client
      remote x.x.x.x 1194
      remote y.y.y.y 1194

      tls-remote VPNServer
      auth-user-pass
      ca OpenVPN-ca.crt
      tls-auth OpenVPN-tls.key 1
      comp-lzo

      1 Reply Last reply Reply Quote 0
      • B
        bardelot last edited by

        Adding the additional remote entries to the "Advanced configuration" would probably be enough to get that working.

        1 Reply Last reply Reply Quote 0
        • M
          makbet last edited by

          advanced configuration in where? pfsense or openvpn server. Can you elaborate little bit more as I really don't know what you mean

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis last edited by

            OpenVPN client advanced config, like this screen shot.
            On the server end, you can just have 1 OpenVPN server running, listening on LAN. Then port forward the port you want to listen on from WAN1, WAN2… to LAN. That way the same OpenVPN server receives the connect requests from the client, whichever public IP address the client connects to.


            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

            1 Reply Last reply Reply Quote 0
            • First post
              Last post