Koozali.org: home of the SME Server

Displaying VPN connections

Jason

Displaying VPN connections
« 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

Jason

Re: Displaying VPN connections
« Reply #1 on: June 11, 2003, 02:12:25 AM »
BTW, I am running 5.5

guestHH

Re: Displaying VPN connections
« Reply #2 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.

Jason

Re: Displaying VPN connections
« Reply #3 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.

Jeremy

Re: Displaying VPN connections
« Reply #4 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.