| GNUNET-NAT(1) | General Commands Manual | GNUNET-NAT(1) |
gnunet-nat —
interact with the NAT service
gnunet-nat |
[-b ADDRESS |
--bind=ADDRESS]
[-c FILENAME |
--config=FILENAME]
[-e ADDRESS |
--external=ADDRESS]
[-i ADDRESS |
--in=ADDRESS]
[-r ADDRESS |
--remote=ADDRESS]
[-S NAME |
--section=NAME]
[-s | --stun]
[-t | --tcp]
[-u | --udp]
[-W | --watch] |
This tool allows testing various NAT traversal functions, as well as attempting auto-configuration.
-b
ADDRESS |
--bind=ADDRESS-c
FILENAME |
--config=FILENAME-e
ADDRESS |
--external=ADDRESS-i
ADDRESS |
--in=ADDRESS-r
ADDRESS |
--remote=ADDRESS-S
NAME |
--section=NAME-s |
--stun-t |
--tcp-u |
--udp-W |
--watch# gnunet-nat -i 0.0.0.0:8080
-uWe are bound to "0.0.0.0:8080" on UDP and want to obtain all applicable IP addresses.
# gnunet-nat -i '[::0]':8080
-tWe are bound to "::0" on port 8080 on TCP and want to obtain all applicable IP addresses.
# gnunet-nat -i 127.0.0.1:8080
-uWe are bound to "127.0.0.1:8080" on UDP and want to obtain all applicable IP addresses:
# gnunet-nat -Wt -i
192.168.178.12:8080Watch for connection reversal request (you must be bound to NAT range or to wildcard, 0.0.0.0), only works for IPv4:
# gnunet-nat -t -r 1.2.3.4:8080 -i
2.3.4.5:8080# gnunet-nat -t -r 1.2.3.4:8080 -i
0.0.0.0:8080Initiate 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:
# gnunet-nat -t -p
AUTO:8080Assume manually punched NAT, but determine external IP automatically:
# gnunet-nat FIXME -sXXX
The full documentation for gnunet is maintained as a Texinfo manual. If the info(1) and gnunet programs are properly installed at your site, the command
info gnunetshould give you access to the complete handbook,
info gnunet-c-tutorialwill give you access to a tutorial for developers.
Depending on your installation, this information is also available in gnunet(7) and gnunet-c-tutorial(7).
Report bugs by using https://bugs.gnunet.org or by sending electronic mail to <gnunet-developers@gnu.org>.
| October 26, 2018 | Debian |