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

#3 2025-03-10 23:31:46

horasjey
Member
From: Pekanbaru
Registered: 2025-03-10
Posts: 1
Website

Re: Show IPSec users connected

Hallo @andrewglass3
how to get detail user from connected users xl2tp..?

andrewglass3 wrote:

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

#4 2025-03-11 11:19:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,540

Re: Show IPSec users connected

Please don't necrobump , start a new thread instead.

Closing this old thread.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB