[strongSwan] strongswan+xl2tpd+ppp for multiple connections

Huang, Zhenxing huang.zhenxing at eco-schulte.cn
Wed Mar 26 10:28:49 CET 2014


HI,
All
I want to use i2tp/ipsec as compatible connect.
Why Can't build user multiple connections at the same time(only one user).
User A was connected the server . but when user B connected the server soon , the A or B link-line will down

My ppp/ options.xl2tpd
------------------------------------
ipcp-accept-local
ipcp-accept-remote
ms-dns  192.168.1.20
noccp
auth
crtscts
idle 1800
mtu 1410
mru 1410
nodefaultroute
debug
lock
proxyarp
connect-delay 5000
require-mschap-v2
plugin winbind.so
ntlm_auth-helper '/usr/bin/ntlm_auth --helper-protocol=ntlm-server-1 --require-membership-of=S-1-5-21-UID'

My xl2tpd/ xl2tpd.conf
-------------------------------------------------------------
[global]
listen-addr = 59.37.A.B
ipsec saref = no
[lns default]
ip range = 192.168.3.128-192.168.3.253
local ip = 192.168.3.254
refuse chap = yes
refuse pap = yes
require authentication = yes
name = LinuxVPNserver
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
length bit = yes


My etc/ipsec.conf
-------------------------------------------------------------
conn rw-l2tp
        left=59.37.A.B
        leftid=@gw-a.cn
        leftcert=a-cert.pem
        leftauth=pubkey
        leftfirewall=yes
        #leftprotoport=udp/1701
        type=transport
        right=%any
        #
        keyexchange=ike
        auto=add
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20140326/b053d49e/attachment.html>


More information about the Users mailing list