[strongSwan] Query regarding configuring left|rightprotoport

divya mohan m.divya.mohan at zoho.com
Thu Nov 15 06:10:24 CET 2012


Hi,

Following information is found from strongswan wiki:

-------------------------------------------------------------------------------------------------------------------------------------
left|rightprotoport = <protocol>/<port>

restrict the traffic selector to a single protocol and/or port.
Examples: leftprotoport=tcp/http
or leftprotoport=6/80 or leftprotoport=udp or leftprotoport=/53.
Instead of omitting either value
%any can be used to the same effect, e.g. leftprotoport=udp/%any or
leftprotoport=%any/53.
-------------------------------------------------------------------------------------------------------------------------------------

If I need to configure any protocol and any port, what should be the
configuration?

leftprotoport=%any/%any
or
leftprotoport=%any
or
completely omit the line from ipsec.conf file
?

Thanks & Regards,
Divya




More information about the Users mailing list