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

The same account can connect to pfsense OpenVPN simultaneously. How can I change this?

OpenVPN
3
4
464
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.
  • A
    amrogers3
    last edited by amrogers3 Jul 2, 2024, 2:53 AM Jul 2, 2024, 2:52 AM

    I have OpenVPN set up on pfsense. I am connecting to the VPN using viscosity. I am not sure why I should be able to log into the VPN using the same account simultaneously but I can.

    What happens when I log into the VPN from separate computers but using the same account:
    the connection disconnects for on one computer and attempts to reconnect. The connection is established but then disconnects for the other computer. This cycles back and forth for each computer connected to the VPN. The connection is dropped and re-established

    I can't find out where I can make these changes to prevent being able to log in using the same user.

    1 Reply Last reply Reply Quote 0
    • N
      notec
      last edited by Jul 2, 2024, 6:53 AM

      Hi,

      there is an option in the configuration of your OpenVPN Server:

      VPN / OpenVPN / Servers

      Duplicate Connection: Check!
      Allow multiple concurrent connections from the same user When set, the same user may connect multiple times. When unset, a new connection from a user will disconnect the previous session.

      Users are identified by their username or certificate properties, depending on the VPN configuration. This practice is discouraged security reasons, but may be necessary in some environments.

      A 1 Reply Last reply Jul 3, 2024, 8:38 PM Reply Quote 1
      • J
        JonathanLee
        last edited by Jul 2, 2024, 7:15 AM

        You can also create different usernames to login with under user administration in pfSense

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • A
          amrogers3 @notec
          last edited by Jul 3, 2024, 8:38 PM

          Hi,

          there is an option in the configuration of your OpenVPN Server:

          VPN / OpenVPN / Servers

          Duplicate Connection: Check!

          Exactly what I was looking for, thank you very much! and happy 4th tomorrow!

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