From 8940fe2cc063d2de8393684ff48efec0e27edc8a Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 16 Mar 2019 15:16:21 +0100 Subject: ipcpd: Revise UDP IPCP The UDP IPCP now uses a fixed server UDP port (default 3435) for all communications. This allows passing firewalls more easily since only a single port needs to be opened. The client port can be fixed as well if needed (default random). It uses an internal eid, so the MTU of the UDP layer is reduced by 4 bytes, similar to the Ethernet IPCPs. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- doc/man/ouroboros.8 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/man/ouroboros.8 b/doc/man/ouroboros.8 index 9c622639..618418c2 100644 --- a/doc/man/ouroboros.8 +++ b/doc/man/ouroboros.8 @@ -209,6 +209,18 @@ ip \fIip\fR specifies the local IP address to bind to .PP [dns \fdns\fR] specifies an optional DDNS server that will be used for the directory. +.PP +[cport \fcport\fR] specifies a client UDP port that will be used for +sending packets. +.br +default: A random UDP port in the ephemeral range +.PP +[sport \fsport\fR] specifies a server UDP port that is used for +receiving ouroboros traffic. This must be the same for the entire UDP +layer. Parallel UDP layers should use different ports. This UDP port +needs to be forwarded if the server is behind a NAT. +.br +default: 3435 .RE .PP -- cgit v1.2.3