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

    Can I limit sessions per login?

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 4 Posters 1.8k 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.
    • B
      bmmcwhirt
      last edited by

      I was originally trying to do this with pptp but couldn't get any help. I want to allow a few groups of people access to my vpn but I want to make sure they only have one connection per login(NOT PER IP). Is there any way with openVPN on pfsense either current or the 2.0 beta to do this? Right now it seems as long as you have all the keys and pass auth you can open as many openVPN sessions as you like.

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        Unless you've explicitly set it (with –duplicate-cn), the default is for any certificate only to be able to connect once.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Just be aware that it doesn't prevent the new login, it kicks off the old one. So if someone leaves a PC hooked up and tries to reconnect from another, they'll just bounce back and forth.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • S
            spiritbreaker
            last edited by

            hi,

            so there is no way the server can deny a second connection with same certificate?

            cya

            Pfsense running at 11 Locations
            -mobile OPENVPN and IPSEC
            -multiwan failover
            -filtering proxy(squidguard) in bridgemode with ntop monitoring

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