socket-default plugin allocates random ports if configured to 0.

Also added strongswan.conf options to change the ports.
This commit is contained in:
Tobias Brunner
2012-08-08 15:30:27 +02:00
parent b223d517c8
commit 224ab4c59b
3 changed files with 97 additions and 40 deletions
+9
View File
@@ -210,6 +210,15 @@ Enable multiple authentication exchanges (RFC 4739)
.BR charon.nbns2
WINS servers assigned to peer via configuration payload (CP)
.TP
.BR charon.port " [500]"
UDP port used locally. If set to 0 a random port will be allocated.
.TP
.BR charon.port_nat_t " [4500]"
UDP port used locally in case of NAT-T. If set to 0 a random port will be
allocated. Has to be different from
.BR charon.port ,
otherwise a random port will be allocated.
.TP
.BR charon.process_route " [yes]"
Process RTM_NEWROUTE and RTM_DELROUTE events
.TP