Can I see which clients are connected to the OpenVPN?
-
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
-
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 -
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 -
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…
-
@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 -
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 :)