Man page - gnunet-nat(1)
Packages contas this manual
- gnunet.conf(5)
- gnunet-did(1)
- gnunet-transport-certificate-creation(1)
- gnunet-timeout(1)
- gnunet-dht-monitor(1)
- gnunet-transport(1)
- gnunet-namestore(1)
- gnunet-messenger(1)
- gnunet-core(1)
- gnunet-dns2gns(1)
- gnunet-base32(1)
- gnunet-download(1)
- gnunet-namestore-fcfsd(1)
- gnunet-scrypt(1)
- gnunet-cadet(1)
- gnunet-qr(1)
- gnunet-fs(1)
- gnunet-gns-proxy(1)
- gnunet-statistics(1)
- gnunet-nat-server(1)
- gnunet-peerinfo(1)
- gnunet-ats(1)
- gnunet-publish(1)
- gnunet-unindex(1)
- gnunet-namestore-zonefile(1)
- gnunet-resolver(1)
- gnunet-nat-auto(1)
- gnunet-uri(1)
- gnunet-gns(1)
- gnunet-auto-share(1)
- gnunet-directory(1)
- gnunet-revocation(1)
- gnunet-conversation(1)
- gnunet-conversation-test(1)
- gnunet-datastore(1)
- gnunet-namecache(1)
- gnunet-identity(1)
- gnunet-testing(1)
- gnunet-gns-proxy-setup-ca(1)
- gnunet-scalarproduct(1)
- gnunet-reclaim(1)
- gnunet-testing-run-service(1)
- gnunet-search(1)
- gnunet-zoneimport(1)
- gnunet-dht-put(1)
- gnunet-nse(1)
- gnunet-namestore-dbtool(1)
- gnunet-nat(1)
- gnunet-bcd(1)
- gnunet-dht-hello(1)
- gnunet-testbed-profiler(1)
- gnunet-vpn(1)
- gnunet-dht-get(1)
apt-get install gnunet
Manual
| GNUNET-NAT(1) | General Commands Manual | GNUNET-NAT(1) |
NAME
gnunet-nat —
interact with the NAT service
SYNOPSIS
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] |
DESCRIPTION
This tool allows testing various NAT traversal functions, as well as attempting auto-configuration.
OPTIONS
-bADDRESS |--bind=ADDRESS- Assume that the service is (locally) bound to ADDRESS.
-cFILENAME |--config=FILENAME- Use the configuration file FILENAME.
-eADDRESS |--external=ADDRESS- Assume that ADDRESS is the globally visible address of the peer.
-iADDRESS |--in=ADDRESS- Assuming we are listening at ADDRESS for connection reversal requests.
-rADDRESS |--remote=ADDRESS- Ask the peer at ADDRESS for connection reversal, using the local address for the target address of the reversal.
-SNAME |--section=NAME- Name of section in configuration file to use for additional options.
-s|--stun- 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.
-t|--tcp- Use TCP.
-u|--udp- Use UDP.
-W|--watch- Watch for connection reversal requests.
EXAMPLES
Basic examples
# 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:
ICMP-based NAT traversal
# 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:
Manual hole punching
# gnunet-nat -t -p
AUTO:8080Assume manually punched NAT, but determine external IP automatically:
STUN-based XXX:
# gnunet-nat FIXME -sXXX
SEE ALSO
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).
BUGS
Report bugs by using https://bugs.gnunet.org or by sending electronic mail to <gnunet-developers@gnu.org>.
| October 26, 2018 | Debian |