[Openswan Users] need some help with openswan / l2tpd

Paul Wouters paul at xelerance.com
Wed Nov 22 10:26:35 EST 2006


On Wed, 22 Nov 2006, Reza ISSANY wrote:

> Is someone could post me an exemple of a working l2tpd configuration please ?

see /etc/ipesc.d/examples/l2tp*

If you mean l2tpd.conf for xl2tpd, use:

[global]
; listen-addr = 192.168.1.1
; ipsec saref = yes
debug tunnel = yes

[lns default]
ip range = 192.168.1.100-192.168.1.199
local ip = 192.168.1.1
require chap = yes
refuse pap = yes
require authentication = yes
name = OpenswanVPN
ppp debug = yes
pppoptfile = /etc/ppp/options.l2tpd
length bit = yes

and options.l2tpd:

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

Paul


More information about the Users mailing list