1 .TH GNUNET\-NAT 1 "27 Nov 2016" "GNUnet"
4 gnunet\-nat \- interact with the NAT service
13 This tool allows testing various NAT traversal functions, as well
14 as attempting auto\-configuration.
19 .IP "\-b ADDRESS, \-\-bind=ADDRESS"
20 Assume that the service is (locally) bound to ADDRESS.
23 .IP "\-c FILENAME, \-\-config=FILENAME"
24 Use the configuration file FILENAME.
27 .IP "\-e ADDRESS, \-\-external=ADDRESS"
28 Assume that ADDRESS is the globally visible address of the peer.
31 .IP "\-i ADDRESS, \-\-in=ADDRESS"
32 Assuming we are listening at ADDRESS for connection reversal requests.
35 .IP "\-r ADDRESS, \-\-remote=ADDRESS"
36 Ask the peer at ADDRESS for connection reversal, using the local address for the target address of the reversal.
39 .IP "\-S NAME, \-\-section=NAME"
40 Name of section in configuration file to use for additional options.
44 Enable processing of STUN requests. Will try to read UDP packets from the bind address and handle the packets if they are STUN packets. Will only work with UDP.
56 Watch for connection reversal requests.
63 We are bound to "0.0.0.0:8080" on UDP and want to obtain all applicable IP addresses:
65 # gnunet-nat -i 0.0.0.0:8080 -u
67 We are bound to "::0" on port 8080 on TCP and want to obtain all applicable IP addresses:
69 # gnunet-nat -i '[::0]':8080 -t
71 We are bound to "127.0.0.1:8080" on UDP and want to obtain all applicable IP addresses:
73 # gnunet-nat -i 127.0.0.1:8080 -u
75 \fBICMP-based NAT traversal:\fR
77 Watch for connection reversal request (you must be bound to NAT range or to wildcard, 0.0.0.0), only works for IPv4:
79 # gnunet-nat -Wt -i 192.168.178.12:8080
81 Initiate connection reversal request from peer at external IPv4 address 1.2.3.4, while we are running ourselves at 2.3.4.5:8080 (must use IPv4 addresses):
83 # gnunet-nat -t -r 1.2.3.4:8080 -i 2.3.4.5:8080
85 Initiate connection reversal request from peer at external IPv4 address 1.2.3.4, and let the kernel fill in whatever IPv4 address we happen to have:
87 # gnunet-nat -t -r 1.2.3.4:8080 -i 0.0.0.0:8080
89 \fBManual hole punching:\fR
91 Assume manually punched NAT, but determine external IP automatically:
93 # gnunet-nat -t -p AUTO:8080
103 Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>