LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   HowTo find PPTP active connections (https://www.linuxquestions.org/questions/linux-networking-3/howto-find-pptp-active-connections-758433/)

Farrukh Fida 09-29-2009 06:35 AM

HowTo find PPTP active connections
 
Hi,

I've created VPN server(PoPToP version 1.3.3) using webmin and all clients are connected successfully.
I want to check "current active connections" from CLI(command line interface).
So please tell me what is the command to list all active connections.

clvic 09-30-2009 02:47 PM

I don't know if there are PPTP-specific consoles. But GNU tools can do a lot.
Use netstat.
"netstat -t" will show you all TCP connections. Check for TCP connections bound on the PPTP port, that is, 1723.
Use "netstat -tn | grep ':1723'" to filter for all connection on port 1723.


All times are GMT -5. The time now is 07:40 PM.