You are not logged in.

#1 2012-04-25 08:44:38

andrewglass3
Member
Registered: 2012-04-10
Posts: 7

Show IPSec users connected

Id like to be able to show the users connected to my IPSec L2TP vpn (openswan and xl2tpd) - Ive been searching and searching but finding nothing.

If possible I'd like to be able to show username - remote ip of user, local vpn ip assigned, time connected and data transferred.  Im not interested in monitoring what they are doing, just the basics.

Can anybody point me in the right direction please?  Id like to be able to put this into a php web manager I'll build at a later date so I have a visual of whats going on.

Many thanks in advance for your help.

Cheers

Andy

Offline

#2 2012-04-26 10:02:30

andrewglass3
Member
Registered: 2012-04-10
Posts: 7

Re: Show IPSec users connected

Can anyone help please?

Ive found this command " netstat -i | grep "ppp" | wc -l "  However all this does is simply show the number or connected users as a simple numerical digit.

Cheers

Andy

Offline

Board footer

Powered by FluxBB