Skip to contentSkip to conversation

Updated manpage for --rport and --lport

PATCH In review Steffan Karger 2 participants 2 messages May 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Updated manpage for --rport and --lport

[SK: v2, patch taken from trac #127 and updated to current master branch]

---
 doc/openvpn.8 | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
doc/openvpn.8 +13 -3
index 23cc789..b9eee0d 100644
@@ -670,18 +670,28 @@ peer on its new IP address.
 .\"*********************************************************
 .TP
 .B \-\-port port
-TCP/UDP port number or port name 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 or name 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 or name 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 [ipv6only]
Signature · 1 line
2.1.4
#1 lore raw

ACK.

Your patch has been applied to the master and release/2.3 branch.

commit d3eacb2d6ebb8a42506343c54e00c72252d683f8 (master) commit f1fa7e35cf7c7a11c27031c7eb35c3e730a450b6 (release/2.3)

Author: Robert Fischer
Date:   Mon May 18 21:21:09 2015 +0200
     Updated manpage for --rport and --lport

     Signed-off-by: Robert Fischer <[email protected]...>
     Signed-off-by: Steffan Karger <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: http://article.gmane.org/gmane.network.openvpn.devel/9701
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering