[Openswan Users] L2TP/IPsec with double NAT

Paul Wouters paul at xelerance.com
Fri Aug 12 18:40:04 CEST 2005


On Fri, 12 Aug 2005, Stefano wrote:

> Thanks Paul,  l2tp/ip now seems to work between  a natted server and not 
> natted client. But if I'd like to make a connection between both server and 
> client natted, client has a subnet of 37.xxx.xxx.0 and server has an 
> interface on lan 192.168.0.0/24 what I have to put in virtual_private and 
> rightsubnet?

in config setup:

nat_traversal=yes
virtual_privae="%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v437.xxx.xxx.xxx.0/24,!%v4:192.168.0.0/24"

in the conn:

rightsubnet=vhost:%no,%priv

Paul


More information about the Users mailing list