• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 652 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 Feb 19, 2023, 8:52 PM

    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
    • N
      NightlyShark
      last edited by Feb 19, 2023, 8:54 PM

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

      1 Reply Last reply Reply Quote 0
      • N
        NightlyShark
        last edited by Feb 19, 2023, 8:56 PM

        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
        • N
          NightlyShark
          last edited by Feb 19, 2023, 8:58 PM

          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 Feb 19, 2023, 11:06 PM

            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..

            N 1 Reply Last reply Feb 19, 2023, 11:14 PM Reply Quote 1
            • N
              NightlyShark @kallabaz
              last edited by Feb 19, 2023, 11:14 PM

              @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
              1 out of 6
              • First post
                1/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received