[Openswan Users] openswan on dedibox

Reza Issany issanyr at gmail.com
Thu Nov 13 13:24:06 EST 2008


Yes in options.l2tpd :
ipcp-accept-local
ipcp-accept-remote
auth
crtscts
idle 1800
mtu 1200
mru 1200
nodefaultroute
debug
lock
proxyarp
connect-delay 5000
nologfd

I've just finished to compile the xl2tpd package. I'm going to configure 
it right nowww.

Paul Wouters a écrit :
> 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