diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-02 19:15:51 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-02 19:15:51 +0100 |
commit | f28533eb5fbd2b8e00bb351eb9fd1da322c70505 (patch) | |
tree | 793b1949dd681414d51ea18c151dd6684efa6b9f /doc/man | |
parent | 1082a8e39e4f3d9b908b14995653ac262f640adb (diff) |
preparations for proper manual hole punching support in new NAT API
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/gnunet-nat.1 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/man/gnunet-nat.1 b/doc/man/gnunet-nat.1 index 2ba236399..5bdbb21eb 100644 --- a/doc/man/gnunet-nat.1 +++ b/doc/man/gnunet-nat.1 @@ -39,8 +39,8 @@ Assuming we are listening at ADDRESS for connection reversal requests. Ask the peer at ADDRESS for connection reversal, using the local address for the target address of the reversal. .B -.IP "\-p PORT, \-\-port=PORT" -Use PORT as our external port for advertising for incoming requests. +.IP "\-p ADDRESS, \-\-punch=ADDRESS" +A hole was punched manually through the NAT. We should use ADDRESS as our external hostname and port for advertising for incoming requests. The special hostname 'AUTO' can be used to indicate that GNUnet should determine the external IP address by other means (such as upnpc), and just take the port number from ADDRESS. .B .IP "\-s, \-\-stun" @@ -89,6 +89,12 @@ Initiate connection reversal request: # gnunet-nat FIXME +\fBManual hole punching:\fR + +Assume manually punched NAT, but determine external IP automatically: + + # gnunet-nat -t -p AUTO:8080 + \fBSTUN-based XXX:\fR XXX: |