[Openswan Users] nat-t and l2tp...

Nels Lindquist nlindq at maei.ca
Tue Jul 6 13:59:37 CEST 2004


On 6 Jul 2004 at 12:04, Jacco de Leeuw wrote:

> Tobias Hadem wrote:
> 
> > does anybody has a working system with openswan, nat-t and l2tpd (+ppp) as 
> > described on yacco's page?

It's working for me with NATted Windows clients (Win2K and WinXP).

> Openswan with l2tpd on kernel 2.6 works for me (using Mandrake 10) but if
> I add NAT-T to the equation, l2tpd does not respond. I don't know a solution
> at this time. Perhaps rp-l2tp does not have this problem?

Do you have a connection definition for both Win9x and Win2K/XP L2TP 
clients, or just Win2K/XP?  I found that for some reason, when the 
2K/XP clients are NATted they request a different protocol port for 
the L2TP setup.

I added a corresponding Win9x configuration including the line:

leftprotoport=17/1701

and then everything worked fine!  When the 2K/XP clients *aren't* 
behind NAT, then "leftprotoport=17/0" works, so you need both 
connection definitions.

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.



More information about the Users mailing list