• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Jun 21, 2007, 1:32 PM

    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 Jun 22, 2007, 1:25 AM

      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
      • G
        GruensFroeschli
        last edited by Jun 22, 2007, 8:30 AM

        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 Jun 22, 2007, 9:22 PM

          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
          • G
            GruensFroeschli
            last edited by Jun 23, 2007, 12:07 AM

            @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 Jul 1, 2007, 4:12 AM

              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.
                This community forum collects and processes your personal information.
                consent.not_received