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

_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to