Debian Ipsec L2TP

Publié le

Install packages: aptitude install xl2tpd openswan Configure file /etc/ipsec.conf # /etc/ipsec.conf – Openswan IPsec configuration file version 2.0 # conforms to second version of ipsec.conf specification config setup listen=xxx.xxx.xxx.xxx #put external ip address protostack=netkey nat_traversal=yes virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12 conn L2TP-PSK-NAT rightsubnet=vhost:%priv also=L2TP-PSK-noNAT conn L2TP-PSK-noNAT authby=secret pfs=no auto=add keyingtries=3 rekey=no ikelifetime=8h keylife=1h type=transport left=xxx.xxx.xxx.xxx #put external ip here … Lire la suite Debian Ipsec L2TP