I have tried to upgrade openswan from 2.6.56.3 to 3.0.0 and I had this unpleasant message:
003 "L2TP-PSK" #3: NAT-Traversal: Transport Mode not allowed due to security concerns -- using Tunnel mode. Rebuild Openswan with USE_NAT_TRAVERSAL_TRANSPORT_MODE=true in Makefile.inc to support transport mode.
So, I did try to do what the error message was suggesting to do. I did recompile openswan after making sure that USE_NAT_TRAVERSAL_TRANSPORT_MODE was set to true.
It did change nothing to the outcome. After some investigation, I did try to grep USE_NAT_TRAVERSAL_TRANSPORT_MODE in all c files and all h files and it seems like the only place where the define show up is in the error message text because otherwise it isn't used at all by the code itself.
This is a problem because I am using opeswan to use a L2TP over IPSec VPN and here is what is written in RFC 3193 Securing L2TP using IPSec, Section 2.1 L2TP Security Protocol:
Transport mode MUST be supported; tunnel mode MAY be supported.
It happens that the RFC-compliant VPN gateway that I talk to does not support tunnel mode.
So, I really don't care at all about possible security concerns, if I cannot use the VPN, openswan 3.0.0 is useless to me.
Please make sure that it is possible to use transport mode with NAT.
Thank you
I have tried to upgrade openswan from 2.6.56.3 to 3.0.0 and I had this unpleasant message:
003 "L2TP-PSK" #3: NAT-Traversal: Transport Mode not allowed due to security concerns -- using Tunnel mode. Rebuild Openswan with USE_NAT_TRAVERSAL_TRANSPORT_MODE=true in Makefile.inc to support transport mode.
So, I did try to do what the error message was suggesting to do. I did recompile openswan after making sure that USE_NAT_TRAVERSAL_TRANSPORT_MODE was set to true.
It did change nothing to the outcome. After some investigation, I did try to grep USE_NAT_TRAVERSAL_TRANSPORT_MODE in all c files and all h files and it seems like the only place where the define show up is in the error message text because otherwise it isn't used at all by the code itself.
This is a problem because I am using opeswan to use a L2TP over IPSec VPN and here is what is written in RFC 3193 Securing L2TP using IPSec, Section 2.1 L2TP Security Protocol:
Transport mode MUST be supported; tunnel mode MAY be supported.
It happens that the RFC-compliant VPN gateway that I talk to does not support tunnel mode.
So, I really don't care at all about possible security concerns, if I cannot use the VPN, openswan 3.0.0 is useless to me.
Please make sure that it is possible to use transport mode with NAT.
Thank you