[Openswan Users] openswan on dedibox

Reza Issany issanyr at gmail.com
Thu Nov 13 12:55:31 EST 2008


My l2tpd.conf is :

[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

Is the local IP have to be set to 192..168.2.1 or with 88.191.50.209 ?
all lines in this file are commented (#) : /etc/l2tpd/l2tp-secrets

is pptp is needed to get work the l2tp/ipsec connexion ? My l2tpd.conf 
configuration
is issued from http://www.natecarlson.com/linux/ipsec-l2tp.php

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

Paul Wouters a écrit :
> On Thu, 13 Nov 2008, Reza Issany wrote:
>
>> I've just added : 
>> virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:192.168.2.0/24,%v4:88.191.50.0/24 
>>
>>
>> and I've tried with this configuration. It doesn't work :
>
> But it does:
>
>> Nov 13 09:15:43 transchaines pluto[28036]: "roadwarrior-xp"[4] 
>> 82.229.55.165 #4: STATE_QUICK_R2: IPsec SA established transport mode 
>> {ESP=>0x8c8601a3 <0xb1649fe9 xfrm=3DES_0-HMAC_MD5 NATOA=192.168.7.200 
>> NATD=82.229.55.165:4500 DPD=none}
>
> The IPsec tunnel came up.
>
>> Nov 13 09:16:15 transchaines pluto[28036]: "roadwarrior-xp"[4] 
>> 82.229.55.165 #3: received Delete SA(0x8c8601a3) payload: deleting 
>> IPSEC State #4
>
> And Windows asked it to be torn down. I suspect now your problem is L2TP
> related.
>
> Paul
>


More information about the Users mailing list