I think the is a configuration' s problem of l2tpnd because when try the connect while l2tpnd negotiation go if I check tunnel status say: /etc/init.d/ipsec status: 1 tunnels up<br><br>This is ipsec.conf<br>version 2.0<br>
<br>config setup<br> interfaces=%defaultroute<br> nat_traversal=yes<br> virtual_private=%v4:<a href="http://10.0.0.0/8,%v4:172.16.0.0/12,%v4:192.168.0.0/16">10.0.0.0/8,%v4:172.16.0.0/12,%v4:192.168.0.0/16</a><br>
<br>conn %default<br> keyingtries=3<br> compress=no<br> disablearrivalcheck=no<br> authby=rsasig<br> leftrsasigkey=%cert<br> rightrsasigkey=%cert<br> keyexchange=ike<br> ikelifetime=240m<br>
keylife=60m<br>conn roadwarrior<br> left=%defaultroute<br> leftcert=pubblica.pem<br> leftsubnet=<a href="http://192.168.1.0/24">192.168.1.0/24</a><br> type=tunnel<br> right=%any<br>
auto=add<br> pfs=yes<br> leftnexthop=%defaultroute<br> rightnexthop=%defaultroute<br><br>conn roadwarrior-l2tp<br> type=transport<br> left=%defaultroute<br> leftcert=pubblica.pem<br>
leftprotoport=17/0<br> rightprotoport=17/1701<br> right=%any<br> pfs=no<br> auto=add<br><br><br>This is l2tpnd.conf:<br>;<br>[global]<br>; listen-addr = <a href="http://192.168.1.98">192.168.1.98</a><br>
<br>[lns default]<br>ip range = 192.168.1.128-192.168.1.254<br>local ip = <a href="http://192.168.1.99">192.168.1.99</a><br>require chap = yes<br>refuse pap = yes<br>require authentication = yes<br>name = LinuxVPNserver<br>
ppp debug = yes<br><br><br>pppoptfile = /etc/ppp/options.l2tpd<br>length bit = yes<br><br>This is options.l2tpnd<br><br>ipcp-accept-local<br>ipcp-accept-remote<br># dns server<br>ms-dns <a href="http://213.144.64.1">213.144.64.1</a><br>
ms-dns <a href="http://213.144.66.1">213.144.66.1</a><br># wins server<br>#ms-wins <a href="http://192.168.1.2">192.168.1.2</a><br>#ms-wins <a href="http://192.168.1.4">192.168.1.4</a><br>#<br>noccp<br>auth<br>crtscts<br>
idle 1800<br>mtu 1410<br>mru 1410<br>debug<br>defaultroute<br>lock<br>proxyarp<br>connect-delay 5000<br>require-pap<br>require-chap<br>require-mschap<br>require-mschap-v2<br>noccp<br>nobsdcomp<br>logfile /var/log/l2tpd.log<br>
<br><br><br>Thanks, sorry for my english.<br><br><br>denis<br>