[Openswan Users] openswan Linux client + Win2k3 Server

Jacco de Leeuw jacco2 at dds.nl
Fri Nov 3 15:33:05 EST 2006


Zack Bartel wrote:

> I am trying to get a Fedora Core 4 client machine to connect to a Win 
> 2k3 server with Openswan 2.4.4. The initial main mode connection seems 
> to be ok but I am getting the following errors during quick mode 
> negotiation:
> 
> "L2TP-PSK" #1: responding to Main Mode

It seems that Windows Server 2003 is initiating the connection, and
not your FC4 client. Are you sure you did a:
ipsec auto --up L2TP-PSK ?

Or did those log events occur _after_ you could not connect? In other
words, have you looked at what happened earlier in the logs?

> conn L2TP-PSK

I just realised that I forgot to put an example for PSKs on my webpage,
for when Linux is used as an L2TP/IPsec client. Sorry about that,
but you figured it out anyway because your .conf file looks exactly
like mine :-).

>             left=%defaultroute

Is this 192.168.131.128?

> and the ipsec.secrets
> 
> 192.168.131.128 192.168.126.137: PSK "presharedkey"
> 192.168.126.137 192.168.131.128: PSK "presharedkey"

You can delete the first one (if you are 192.168.131.128).
I would recommend

  192.168.126.137 : PSK "presharedkey"

if the Linux client is behind NAT.

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


More information about the Users mailing list