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