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

    OpenVPN starts on both nodes

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 1.0k 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.
    • M
      mvrk
      last edited by

      Hi,

      I've got two pfsense nodes (active/standby).

      I've configured pfsense as openvpn client to connecto to an openvpn server, and i don't know if this is a bug or not, but openvpn starts on both my nodes, which causes the connection to reset every time because the server is getting two connection from the same certificate cn.

      Shouldn't the openvpn service only start on the standby node when there is a failover?

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

        You have to bind it to a CARP IP.

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

          Thankx, works great!

          Just another question, it works ok for a client, but if i setup a server and bind it to CARP VIP it still starts the openvpn server on both nodes, is this normal?

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

            Yes, it's best to leave the servers running always.

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

              @cmb:

              Yes, it's best to leave the servers running always.

              That brings me a problem, when i'm connected throuh openvpn i can't access pfsense2, i guess it's because pfsense2 also has an openvpn interface with the same IP address, correct?

              Any away to workaround this behaviour?

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