[strongSwan-dev] IPSec Tunnel mode with NAT-T

Kaushal Bhandankar kaushalgoa at gmail.com
Tue Aug 24 19:40:07 CEST 2010


Hi,
I am setting up IPSec for
IMS<http://old.nabble.com/NAT-T-support-in-2.6-kernel-td19851045.html>,
where UE is behind NAT. I am not able to receive any encrypted messages on
UE side as they are dropped by the kernel. Found this
thread<http://wiki.strongswan.org/repositories/entry/strongswan/src/charon/network/socket.c?rev=5e6bbf4f772915fa98e0bc47b802ef84d02746f8>where
setsockopt is done globally. Does that mean that I can run a "test
program" and do a setsockopt on the UDP socket in the "test program" and I
will be able to receive messages on the UE ?

setsockopt(skt, SOL_UDP, UDP_ENCAP, &type, sizeof(type)) < 0)

Regards,
Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100824/c53d385b/attachment.html>


More information about the Dev mailing list