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

    OpenVPN - Only works for a single user at a time.

    Scheduled Pinned Locked Moved OpenVPN
    22 Posts 6 Posters 9.6k 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.
    • jnorellJ
      jnorell @khuram
      last edited by jnorell

      @khuram said in OpenVPN - Only works for a single user at a time.:

      Have you been able to test if this is resolved with 2.4.5?

      I did test this system some more, and no, the issue is not fixed in 2.4.5; once I remove this workaround, only the first openvpn client (.210 addr) has a working connection.

      I'll note that I tested openvpn on another 2.4.5 system and did have 2 working clients at the same time. There are quite a few differences in the two setups, but I suspect most relevant were the second system assigned a private ip range to the openvpn clients and uses nat, and is a single system, and both the working clients were behind the same remote ip (using cell phone hotspot), whereas the first system (above) assigns public ip's, is a failover pair, and clients are all on different remote ip's).

      1 Reply Last reply Reply Quote 0
      • jnorellJ
        jnorell @khuram
        last edited by jnorell

        @khuram said in OpenVPN - Only works for a single user at a time.:

        Also have you had any trouble with removing routes after a user is disconnected?

        With this workaround in place, the routes appear to not be removed. Eg. after I just received a .211 address, I see:

        x.x.x.208/29   x.x.x.177      UGS      igb0.8
        x.x.x.209      link#21            UHS         lo0
        x.x.x.210      link#21            UH       ovpns3
        x.x.x.211      ovpns3             UH       ovpns3
        x.x.x.216/29   x.x.x.177      UGS      igb0.8
        x.x.x.217      link#22            UHS         lo0
        x.x.x.218      link#22            UH       ovpns1
        

        That does not seem to create an issue for us.

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