OpenVPN - how to find who's connected?

John Abreau jabr at blu.org
Mon Nov 7 21:24:59 EST 2005


Is there an easy way to determine who's currently connected to an 
OpenVPN server when it's using udp? I've been looking through the 
openvpn.log file, but it's not clear what corresponds to a connection 
starting and a connection stopping. I spent an hour searching on google 
for something useful, but ame up empty.

There is an occasional "Peer Connection Initiated" that looked relevant 
at first, but then it turned out these appeared at unpredictable 
intervals for a while, then stopped appearing entirely, for a connection 
that was on continuously over the weekend.

With the pptp vpn I'm replacing, I could look at the tun* devices with 
ifconfig to determine who was currently using the vpn. With OpenVPN, I 
have a single tap0 device which tells me nothing about the individual 
clients.

-- 
John Abreau / Executive Director, Boston Linux & Unix
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jabr.vcf
Type: text/x-vcard
Size: 175 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20051107/040c0165/attachment.vcf>


More information about the Discuss mailing list