[Openswan Users] For l2tp/ipsec, linux gateway how to know the logon user name
Paul Wouters
paul at xelerance.com
Thu Oct 22 09:17:11 EDT 2009
On Thu, 22 Oct 2009, 顏宏愷 wrote:
> I successfully set up the l2tp/ipsec gateway with kernel 2.6.x and openswan 2.4.14 for window XP client.
>
> The window XP client can logon and set up l2tp/ipsec tunnel by preshared key and user name /password
> which are
>
> configured in the ipsec.secrets and ppp/chap-secrets files in gateway
>
> When user logon, I can see the tunnel up number added one via ipsec setup –status command.
>
> My question is ,in gateway side ,is there any way to list the user name who has logon or check every
> user’s logon state?
Not really. It's pppd that does that. Neither xl2tpd or openswan know about the username. Only
pppd does. If you have some central auth mechanism for pppd (eg radius) then you might be
able to ask the radius server.
Paul
More information about the Users
mailing list