Конфиги:
ipsec.conf
config setup
dumpdir=/var/run/pluto/
nat_traversal=yes
virtual_private=%v4:192.168.5.0/16
oe=off
protostack=netkey
plutostderrlog=/var/log/pluto.log
nhelpers=0
conn L2TP-PSK-NAT
rightsubnet=vhost:%priv
also=L2TP-PSK-noNAT
compress=yes
conn L2TP-PSK-noNAT
authby=secret
auto=add
keyingtries=3
rekey=no
type=transport
left=192.168.0.116
leftprotoport=17/1701
right=%any
rightprotoport=17/%any
dpddelay=15
dpdtimeout=30
dpdaction=clear
pfs=no
keyexchange=ike
ike=aes256-sha1,aes128-sha1,3des-sha1
phase2alg=aes256-sha1,aes128-sha1,3des-sha1
[global]
ipsec saref = yes
port = 1701
[lns default]
ip range = 192.168.5.10-192.168.5.20
local ip = 192.168.0.116
refuse chap = yes
refuse pap = yes
require authentication = yes
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
length bit = yes
domain ***.no-ip.biz
require-mschap-v2
refuse-mschap
ms-dns 192.168.0.1
asyncmap 0
auth
crtscts
idle 1800
lock
hide-password
local
#debug
name l2tpd
proxyarp