From: Robert Fischer Date: Mon, 18 May 2015 19:21:09 +0000 (+0200) Subject: Updated manpage for --rport and --lport X-Git-Tag: v2.3.7~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1fa7e35cf7c7a11c27031c7eb35c3e730a450b6;p=thirdparty%2Fopenvpn.git Updated manpage for --rport and --lport [SK: v2, patch taken from trac #127 and updated to current master branch] Signed-off-by: Robert Fischer Signed-off-by: Steffan Karger Acked-by: Gert Doering Message-Id: <1431976869-4948-1-git-send-email-steffan@karger.me> URL: http://article.gmane.org/gmane.network.openvpn.devel/9701 Signed-off-by: Gert Doering (cherry picked from commit d3eacb2d6ebb8a42506343c54e00c72252d683f8) --- diff --git a/doc/openvpn.8 b/doc/openvpn.8 index c7b21cf2d..b0689b96f 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -661,18 +661,28 @@ peer on its new IP address. .\"********************************************************* .TP .B \-\-port port -TCP/UDP port number for both local and remote. The current +TCP/UDP port number or port name for both local and remote (sets both +.B \-\-lport +and +.B \-\-rport +options to given port). The current default of 1194 represents the official IANA port number assignment for OpenVPN and has been used since version 2.0-beta17. Previous versions used port 5000 as the default. .\"********************************************************* .TP .B \-\-lport port -TCP/UDP port number for bind. +Set local TCP/UDP port number or name. Cannot be used together with +.B \-\-nobind +option. .\"********************************************************* .TP .B \-\-rport port -TCP/UDP port number for remote. +Set TCP/UDP port number or name used by the +.B \-\-remote +option. The port can also be set directly using the +.B \-\-remote +option. .\"********************************************************* .TP .B \-\-bind