Venkat Yekkirala <[EMAIL PROTECTED]> wrote: > > I am wondering if 26sec supports NAT-Traversal for multiple > endpoints behind the same NAT. In looking at xfrm_tmpl it's > not obvious to me that it's supported, at least going by the > following from the setkey man page: > > When NAT-T is enabled in the kernel, policy matching for ESP over > UDP packets may be done on endpoint addresses and port (this > depends on the system. System that do not perform the port check > cannot support multiple endpoints behind the same NAT). When > using ESP over UDP, you can specify port numbers in the endpoint > addresses to get the correct matching. Here is an example: > > spdadd 10.0.11.0/24[any] 10.0.11.33/32[any] any -P out ipsec > esp/tunnel/192.168.0.1[4500]-192.168.1.2[30000]/require ; > > Or is this to be accomplished in a different way?
It depends on whether it's transport mode or tunnel mode. In tunnel mode it should work just fine. Transport mode on the other hand has fundamental problems with NAT-T that go beyond the Linux implementation. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html