[Openswan Users] Openswan + L2TP

Norman Rasmussen normanr at gmail.com
Sat Aug 13 01:18:10 CEST 2005


> Cliente: 192.168.1.2
> Server: 192.168.1.1
> Network:  192.168.99.0/24

um, I assume the server has another network card with an ip in the
network range?

more like (THIS IS AN EXAMPLE)
Server: 
eth0: 192.168.1.1 (network 192.168.1.0/24)
eth1: 192.168.99.1 (network 192.168.99.0/24)

I guess you could do it via aliasing too (i.e. eth0 and eth0:1)

On 12/08/05, Marcos Ferreira da Silva <marcosfs at centershop.com.br> wrote:
> 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
> 
> _______________________________________________
> Users mailing list
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> 


-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/


More information about the Users mailing list