[Openswan Users] Openswan + L2TP

Marcos Ferreira da Silva marcosfs at centershop.com.br
Fri Aug 12 18:34:40 CEST 2005


Em Sex, 2005-08-12 às 21:39 +0200, Jacco de Leeuw escreveu:
> 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)...
> 

ok.  I put my firewall rules in ip-up and ip-down.  It's ok.

> > /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?

When i put noauth it get the IP 192.168.99.30.
My range is 192.168.99.128-192.168.99.254.

My network test is

Client --- Server --- Network

Cliente: 192.168.1.2
Server: 192.168.1.1
Network:  192.168.99.0/24

Could be this error because my client and server is in the same route?

Marcos



More information about the Users mailing list