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

    Multiple openvpn roadwarrior servers using the same tunnel network and dhcp serv

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 640 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.
    • R
      rhrbl
      last edited by

      Good Afternoon,

      I have two openvpn road warrior server configuration using the same IPv4 Tunnel Network, it works fine but I was wondering if is there any way to share the DHCP server? For example, if one user connects to the first one, it works. but if a second user connects to the other server, the server give him the same ip address. So is there any option to "share" the dhcp server in order to avoid duplicated ip addresses, or do we need to have two different networks?

      Many thanks

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by

        Huh? You're saying that you have the same exact tunnel network set for both of the OpenVPN server instances? That configuration shouldn't work at all because you have the same IP address on multiple interfaces which is basically an IP address conflict on the pfSense side. Post more details, as now described you have a borked configuration.

        1 Reply Last reply Reply Quote 0
        • R
          rhrbl
          last edited by

          Yes, I've set up two openvpn roadwarrior servers, one per wan interface with same configuration both but different TCP port, because we have two DSL lines, is there a better way to set up X openvpn roadwarrior servers listening to diferent DSL lines without create X different networks? I want to simplify the client override settings, because we are assigning an static ip to some users, and if we create X networks we also need to create X client overrides

          thanks

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