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

    Can I see which clients are connected to the OpenVPN?

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 5 Posters 31.0k 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.
    • R
      ronenb75
      last edited by

      Hi,

      I'm using pfsense for OpenVPN (among other things…).
      Is there a way (easy and nice one) to see who is connected via OpenVPN tunnel? Like the IPSec status interface?

      Thanx

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Not that I'm aware of.  I added it to the OpenVPN wishlist for upcoming improvements to OpenVPN.
        http://wiki.pfsense.com/wikka.php?wakka=OpenVPNWishlist

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          there's no "easy" way to do that but you could look at the OpenVPN log under "Diagnostics –> System logs" to see who's connected.

          if a client connects it looks like that:
          Jun 22 10:05:40 openvpn[573]: xxx.xxx.xxx.xxx:59488 [GroliOVPN_groli] Peer Connection Initiated with xxx.xxx.xxx.xxx:59488

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • T
            trendchiller
            last edited by

            There's a much easier way to check who is connected:

            Just insert a custom command to your pfsenses openvpn server config that reads: management <IP of your pfSense> 7505 (as the port to connect to)

            now you save the config…

            you can access this interface now by telnet <ip>7505</ip> and have your management interface there or you use the tool openvpn-control http://sourceforge.net/projects/openvpn-control

            works like a charm…

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              @trendchiller: cool. never used this command before :)

              infos on the managment-interface:
              http://openvpn.net/management.html

              (some more infos in the MAN page)
              http://openvpn.net/man.html

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

                on the openvpn wishlist…

                i didnt log in and try to post yet another, but maybe someone could edit their GUI wish, to be able to not only add certs, but to revoke them as well.  this would probably be a given if someone were to actually go to the trouble, but either way, i think its worth wishing for  :)

                Jonathan

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