/usr/share/gnunet/config.d/nat.conf is in gnunet-server 0.9.3-7build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | [nat]
# Are we behind NAT?
BEHIND_NAT = NO
# Is the NAT hole-punched?
PUNCHED_NAT = NO
# Enable UPNP by default?
ENABLE_UPNP = NO
# Use addresses from the local network interfaces (inluding loopback, but also others)
USE_LOCALADDR = YES
# Use address obtained from a DNS lookup of our hostname
USE_HOSTNAME = NO
# External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!)
# normal interface IP address for non-NATed peers;
# possibly auto-detected (using UPnP) if possible if not specified
# EXTERNAL_ADDRESS =
# Should we use ICMP-based NAT traversal to try connect to NATed peers
# or, if we are behind NAT, to allow connections to us?
ENABLE_ICMP_CLIENT = NO
ENABLE_ICMP_SERVER = NO
# IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY;
# normal interface IP address for non-NATed peers;
# likely auto-detected (via interface list) if not specified (!)
# INTERNAL_ADDRESS =
# Disable IPv6 support
DISABLEV6 = NO
# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
RETURN_LOCAL_ADDRESSES = NO
# How often do we query the DNS resolver
# for our hostname (to get our own IP), in ms
HOSTNAME_DNS_FREQUENCY = 1200000
# How often do we iterate over our
# network interfaces to check for changes
# in our IP address? in ms
IFC_SCAN_FREQUENCY = 3000000
# How often do we query the DNS resolver
# for our hostname (to get our own IP), in ms
DYNDNS_FREQUENCY = 140000
[gnunet-nat-server]
HOSTNAME = gnunet.org
PORT = 5724
|