[Openswan Users] openswan on dedibox

Paul Wouters paul at xelerance.com
Thu Nov 13 13:14:23 EST 2008


On Thu, 13 Nov 2008, Reza Issany wrote:

> My l2tpd.conf is :

btw. upgrade to xl2tpd if possible.

> [global]
> auth file = /etc/l2tpd/l2tp-secrets
>
> [lns default]
> ip range = 192.168.2.10-192.168.2.20
> local ip = 192.168.2.1
> require chap = yes
> refuse pap = yes
> require authentication = yes
> name = OCTIVPN
> ppp debug = yes
> pppoptfile = /etc/ppp/options.l2tpd
> length bit = yes

What's in options.l2tpd? something like:

ipcp-accept-local
ipcp-accept-remote
ms-dns  193.110.157.2
#ms-dns  192.168.1.3
#ms-wins 192.168.1.2
#ms-wins 192.168.1.4
noccp
nomppe
auth
crtscts
idle 1800
#mtu 1200
#mru 1200
mru 1360
mtu 1360
defaultroute
debug
lock
proxyarp
connect-delay 5000

> Is the local IP have to be set to 192..168.2.1 or with 88.191.50.209 ?

the local ip is the one your assigned ip will talk to, so the 192.168.2.1
in your case.

You should check the l2tp server logs to see what is going wrong.

> is pptp is needed to get work the l2tp/ipsec connexion ? My l2tpd.conf 
> configuration

no. ppp is needed, not pptp.

> Maybe my config is different because the openswan server doesn't have any 
> real lan interface no ?

Yes, but I think it should still work fine.

Paul


More information about the Users mailing list