aboutsummaryrefslogtreecommitdiff
path: root/doc/man/gnunet-nat.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/gnunet-nat.1')
-rw-r--r--doc/man/gnunet-nat.143
1 files changed, 21 insertions, 22 deletions
diff --git a/doc/man/gnunet-nat.1 b/doc/man/gnunet-nat.1
index 1ffdc5c7c..585b84605 100644
--- a/doc/man/gnunet-nat.1
+++ b/doc/man/gnunet-nat.1
@@ -26,45 +26,44 @@
26.Os 26.Os
27.Sh NAME 27.Sh NAME
28.Nm gnunet-nat 28.Nm gnunet-nat
29.Nd 29.Nd interact with the NAT service
30interact with the NAT service
31.Sh SYNOPSIS 30.Sh SYNOPSIS
32.Nm 31.Nm
33.Op Fl b Ar ADDRESS | Fl \-bind= Ns Ar ADDRESS 32.Op Fl b Ar ADDRESS | Fl -bind= Ns Ar ADDRESS
34.Op Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME 33.Op Fl c Ar FILENAME | Fl -config= Ns Ar FILENAME
35.Op Fl e Ar ADDRESS | Fl \-external= Ns Ar ADDRESS 34.Op Fl e Ar ADDRESS | Fl -external= Ns Ar ADDRESS
36.Op Fl i Ar ADDRESS | Fl \-in= Ns Ar ADDRESS 35.Op Fl i Ar ADDRESS | Fl -in= Ns Ar ADDRESS
37.Op Fl r Ar ADDRESS | Fl \-remote= Ns Ar ADDRESS 36.Op Fl r Ar ADDRESS | Fl -remote= Ns Ar ADDRESS
38.Op Fl S Ar NAME | Fl \-section= Ns Ar NAME 37.Op Fl S Ar NAME | Fl -section= Ns Ar NAME
39.Op Fl s | \-stun 38.Op Fl s | -stun
40.Op Fl t | \-tcp 39.Op Fl t | -tcp
41.Op Fl u | \-udp 40.Op Fl u | -udp
42.Op Fl W | \-watch 41.Op Fl W | -watch
43.Sh DESCRIPTION 42.Sh DESCRIPTION
44This tool allows testing various NAT traversal functions, as well as attempting auto-configuration. 43This tool allows testing various NAT traversal functions, as well as attempting auto-configuration.
45.Sh OPTIONS 44.Sh OPTIONS
46.Bl -tag -width indent 45.Bl -tag -width indent
47.It Fl b Ar ADDRESS | Fl \-bind= Ns Ar ADDRESS 46.It Fl b Ar ADDRESS | Fl -bind= Ns Ar ADDRESS
48Assume that the service is (locally) bound to ADDRESS. 47Assume that the service is (locally) bound to ADDRESS.
49.It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME 48.It Fl c Ar FILENAME | Fl -config= Ns Ar FILENAME
50Use the configuration file FILENAME. 49Use the configuration file FILENAME.
51.It Fl e Ar ADDRESS | Fl \-external= Ns Ar ADDRESS 50.It Fl e Ar ADDRESS | Fl -external= Ns Ar ADDRESS
52Assume that ADDRESS is the globally visible address of the peer. 51Assume that ADDRESS is the globally visible address of the peer.
53.It Fl i Ar ADDRESS | Fl \-in= Ns Ar ADDRESS 52.It Fl i Ar ADDRESS | Fl -in= Ns Ar ADDRESS
54Assuming we are listening at ADDRESS for connection reversal requests. 53Assuming we are listening at ADDRESS for connection reversal requests.
55.It Fl r Ar ADDRESS | Fl \-remote= Ns Ar ADDRESS 54.It Fl r Ar ADDRESS | Fl -remote= Ns Ar ADDRESS
56Ask the peer at ADDRESS for connection reversal, using the local address for the target address of the reversal. 55Ask the peer at ADDRESS for connection reversal, using the local address for the target address of the reversal.
57.It Fl S Ar NAME | Fl \-section= Ns Ar NAME 56.It Fl S Ar NAME | Fl -section= Ns Ar NAME
58Name of section in configuration file to use for additional options. 57Name of section in configuration file to use for additional options.
59.It Fl s | \-stun 58.It Fl s | -stun
60Enable processing of STUN requests. 59Enable processing of STUN requests.
61Will try to read UDP packets from the bind address and handle the packets if they are STUN packets. 60Will try to read UDP packets from the bind address and handle the packets if they are STUN packets.
62Will only work with UDP. 61Will only work with UDP.
63.It Fl t | \-tcp 62.It Fl t | -tcp
64Use TCP. 63Use TCP.
65.It Fl u | \-udp 64.It Fl u | -udp
66Use UDP. 65Use UDP.
67.It Fl W | \-watch 66.It Fl W | -watch
68Watch for connection reversal requests. 67Watch for connection reversal requests.
69.El 68.El
70.Sh EXAMPLES 69.Sh EXAMPLES