[Openswan Users] Openswan + L2TP

Jacco de Leeuw jacco2 at dds.nl
Fri Aug 12 22:39:05 CEST 2005


Marcos Ferreira da Silva wrote:

> Could I run a script when the client connect and get the IP?

Well, there's the /etc/ppp/ip-up script (man pppd)...

> /usr/sbin/pppd: The remote system is required to authenticate itself
> /usr/sbin/pppd: but I couldn't find any suitable secret (password) for
> it to use to do so.
> /usr/sbin/pppd: (None of the available passwords would let it use an IP
> address.)
> 
> /etc/ppp/chap-secrets
> *       markin  "teste" 192.168.99.130
> markin  *       "teste" 192.168.99.130

Perhaps 192.168.99.130 is not within the 'ip range'
in l2tpd.conf? Or you configured a static virtual IP
address on the client which is not 192.168.99.130?

Jacco
-- 
Jacco de Leeuw                         mailto:jacco2 at dds.nl
Zaandam, The Netherlands           http://www.jacco2.dds.nl


More information about the Users mailing list