From f492fa0b0f1081ddf8c9aa92aad24f803ed02d86 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 19 Sep 2017 10:01:18 +0100 Subject: [PATCH] server/tripe.8.in: The default port is the IANA-assigned one. To get a kernel-assigned port, pass `-p0' explicitly. Fix the manpage so that it doesn't tell lies any more. --- server/tripe.8.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/tripe.8.in b/server/tripe.8.in index fcfdb324..aaaf2678 100644 --- a/server/tripe.8.in +++ b/server/tripe.8.in @@ -110,7 +110,7 @@ environment variable (or .B "\*(/c" if the variable is unset) as the current directory. .hP 2. -It acquires a UDP socket with an arbitrary kernel-selected port number. +It acquires a UDP socket. The default port is 4070 It will use this socket to send and receive all communications with its peer servers. The port chosen may be discovered by means of the .B PORT @@ -205,7 +205,11 @@ to tunnel through the VPN. .TP .BI "\-p, \-\-port=" port Use the specified UDP port for all communications with peers, rather -than an arbitarary kernel-assigned port. +than the default port 4070. If this is zero, the kernel will assign a +free port, which can be determined using the +.B PORT +administration command (see +.BR tripe-admin (5)). .TP .BI "\-n, \-\-tunnel=" tunnel Use the specified tunnel driver for new peers by default. -- 2.11.0