[strongSwan] UDP encapsulation

Andreas Steffen andreas.steffen at strongswan.org
Tue Sep 28 10:03:38 CEST 2021


Hi Athira,

ESP-in-UDP encapsulation is automatically selected when a NAT situation
is detected via the hash values in the IKEv2

   NAT_DETECTION_SOURCE_IP and NAT_DETECTION_DESTINATION_IP

notifies. A UDP encapsulation can be enforced by setting

   encap = yes

in a connection definition in swanctl.conf.

Cheers

Andreas


On 28.09.21 07:06, rathiranair wrote:
> Hello
> What is the configuration setup for implementing udp encapsulation?
> Regards
> Athira
> 
======================================================================
Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Open Source VPN Solution!          www.strongswan.org
strongSec GmbH, 8952 Schlieren (Switzerland)
======================================================================


More information about the Users mailing list