[Openswan Users] L2TP/IPsec with double NAT

Jacco de Leeuw jacco2 at dds.nl
Fri Aug 12 21:41:32 CEST 2005


Stefano Pazzaglia wrote:

> virtual_private="%v4:37.xxx.xxx.0/21,%v4:!192.168.0.0/24"

No, this should be something like:

virtual_private=%v4:10.0.0.0/8,%v4:172.16.0.0/12,%v4:192.168.0.0/16,%v4:!192.168.0.0/24

> conn I-hate-vpn
>         pfs=no
>         left=%defaultroute
>         right=%any
>         rightsubnet=vhost:%no,%priv
>         auto=add

There is no left/rightprotoport=17/1701 here.
Check out the basics at:
http://www.jacco2.dds.nl/networking/freeswan-l2tp.html#FreeSWANconfig

Jacco
-- 
Jacco de Leeuw                         mailto:jacco2 at dds.nl
Zaandam, The Netherlands           http://www.jacco2.dds.nl


More information about the Users mailing list