Commit ced915a1 authored by Arnaud Fontaine's avatar Arnaud Fontaine

doc: document UPnP server configuration in manpage.

Required to share the connectivity with others.
parent 9751e221
......@@ -48,6 +48,36 @@ re6stnet_subnet
the re6st network you belong to, written in CIDR notation
Setting up a UPnP server
In order to share the connectivity with others, it is necessary for re6stnet
port (as specified by ``--pp`` option and default to `1194`) to be reachable
from outside. If the node has a public IPv4 address, then this is not
necessary, otherwise a UPnP server should be set up on the gateway.
You can check the connectivity with other re6st nodes of the network with
``netstat -tn | grep 1194``.
Sample configuration file for `miniupnpd`::
allow 1024-65535 1024-65535
deny 0-65535 0-65535
After restarting ``re6stnet`` service on the clients within the LAN, you can
either check ``/var/log/re6stnet.log`` or the ``iptables`` ``NAT`` table to
see that the port ``1194`` is properly redirected, for example::
# iptables -t nat -L -nv
Chain MINIUPNPD (1 references)
target prot opt source destination
DNAT tcp -- anywhere anywhere tcp dpt:37194 to:
DNAT tcp -- anywhere anywhere tcp dpt:34310 to:
Starting re6st automatically
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment