[Openswan Users]

Jacco de Leeuw jacco2 at dds.nl
Wed Oct 12 20:56:49 CEST 2005


Martin Schläffer wrote:

> I want to connect on a Linux client with Openswan 2.4.0, Kernel 2.6.12 
> to a Windows Server, which is not NATed.
> The connection uses l2tp and works perfectly with a Linux client if it 
> _is_not_ behind a NAT device, or works when connecting using a Windows 
> client which _is_ behind a NAT device.

I suspect (because I don't have access to a Windows 2003 Server) you will
have to add the following lines:

> config setup
>         nat_traversal=yes

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

(or whatever your subnet is)

> conn iaik
>         type=transport

Try removing this line.

>         right="IP of Windows Server"
>         rightprotoport=17/1701

           rightsubnet=vhost:%no,%priv

Check the logs on the Windows Server if possible.

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


More information about the Users mailing list