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

    Session is still on even if I disconnect in client application

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 2 Posters 653 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.
    • K
      kallabaz
      last edited by

      I have a Netgate 7100 HA Setup with OpenVPN for remote access.

      Today I was connected to the OpenVPN tunnel and was managing servers on the remote network.
      I use the OpenVPN client on my Macbook Pro M2.
      I disconnected the tunnel on my Macbook. Later on I could still manage the servers on the remote network.
      I rebooted my Macbook, and was still able to manage the servers.
      I had to actively log in the the 7100 and kill the session. Then I wasn't able to connect to the remote network.

      Why? Any ideas?

      1 Reply Last reply Reply Quote 0
      • NightlySharkN
        NightlyShark
        last edited by

        In OpenVPN server config:
        cb375dcd-aa40-486a-a309-c2a7e799252c-image.png

        1 Reply Last reply Reply Quote 0
        • NightlySharkN
          NightlyShark
          last edited by

          Its kinda lazy "conccurenting" of connections, it also makes the sessions (and, by extension, states in the firewall tables) persistent.

          1 Reply Last reply Reply Quote 0
          • NightlySharkN
            NightlyShark
            last edited by

            Maybe you can pass something like a TTL for connections through advanced options, if you need multiple connections for the same user? Or, most tiresomely, you can treat every device you connect from as a seperate user?

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

              I actually just found the problem.
              I don't understand it, but at least I found it.

              I had two openvpn servers configured.
              When I connected to one of them, both connected.
              When I disconnected, only one disconnected. The other one were online. Even if I didn't see it in my client gui..

              Strange..

              NightlySharkN 1 Reply Last reply Reply Quote 1
              • NightlySharkN
                NightlyShark @kallabaz
                last edited by

                @kallabaz I am not sure, but I think that OpenVPN has a licencing scheme for both multiple servers and multiple users (?). Again, I am for no way sure, but I always had problems with openVPN. Maybe just use IPsec or wireguard if you are the only one remoting?

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