Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Jason on June 11, 2003, 01:50:53 AM

Title: Displaying VPN connections
Post by: Jason on June 11, 2003, 01:50:53 AM
What is the command for displaying the list of users currently connected via VPN?  I don't know what it is, but to be sure there has to be a way.  I can't find it anywhere.

Thanks in advance
Title: Re: Displaying VPN connections
Post by: Jason on June 11, 2003, 02:12:25 AM
BTW, I am running 5.5
Title: Re: Displaying VPN connections
Post by: guestHH on June 11, 2003, 02:57:28 AM
you can count the number of connections simply by listing your network interfaces (ifconfig). All pppx connections should be vpn connections.
Title: Re: Displaying VPN connections
Post by: Jason on June 12, 2003, 07:58:35 PM
Thanks, but I'd also like to be able to see which user is connected.  I can see that there is a connection, but I don't know how to tell who it is.
Title: Re: Displaying VPN connections
Post by: Jeremy on July 10, 2003, 10:50:36 PM
I use this

tail -f /var/log/messages | grep "pppd"

to see when new people connect

cat /var/log/messages | grep "pppd"

to see the last people that have connected and how long.