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

Signed-off-by: Robert Fischer <ml-open...@trispace.org>
Signed-off-by: Steffan Karger <stef...@karger.me>
---
 doc/openvpn.8 | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/doc/openvpn.8 b/doc/openvpn.8
index 23cc789..b9eee0d 100644
--- a/doc/openvpn.8
+++ b/doc/openvpn.8
@@ -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]
-- 
2.1.4


Reply via email to