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

    Multi OVPN Clients - Clashing Same Virtual IP Address

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 588 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.
    • H
      her0wh1m
      last edited by

      I have set-up multi-vpn, using 3 x vpn connections. The servers are controlled by an external VPN provider.

      The issue is that 2 x of these connections are assigned virtual addresses on the same subnet, and sometimes they are assigned identical virtual ip addresses.

      I want to be able to assign / control the virtual ip addresses for each connection through the OVPN client config.

      I see conflicting information and am not sure what the correct way is.

      Currently in the client config I have the VPN/OpenVPN/Clients/Edit –>Tunnel Settings --> IPv4 Tunnel Network --> 10.10.31.4/30
      Topology = net30.

      I therefore expect an ip of 10.10.31.6 to be applied to the OVPN virtual address, but it is not.

      Any insights / assistance appreciated.

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

        You typically have to request for static IP's to be assigned by the third-party VPN provider.  You can only control your Virtual IP lease if you control the VPN Server, I believe.

        1 Reply Last reply Reply Quote 0
        • H
          her0wh1m
          last edited by

          Thanks for the response. I know I have set this up in the past with the ip being pushed from the server to the client, but starting to question myself also if it can be done client side. I dont see why not, I dont pull routes from the VPN provider.

          I did manage to assign static ip client side using the client specific overrides. This was based on assigning static ip per certificate authority. Unfortunately, all the VPN clients share the same certificate authority though - so although I have proven you can assign static ip client side I still havent managed to do it per client.

          It seems that the ifconfig-push directive works in the 'Client Specific Overrides' section but not in the 'Client' section.
          '
          I dont understand why in the 'Client' section you cannot just specify the ip in 'IPv4 Tunnel Network'

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