porting xdht to new service API, major code de-duplication effort
[oweals/gnunet.git] / src / nat / nat.conf
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)
40 HOSTNAME_DNS_FREQUENCY = 20 min
41
42 # How often do we iterate over our 
43 # network interfaces to check for changes
44 # in our IP address?
45 IFC_SCAN_FREQUENCY = 15 min
46
47 # How often do we query the DNS resolver
48 # for our hostname (to get our own IP)
49 DYNDNS_FREQUENCY = 7 min
50
51 # SHOULD USE STUN ?
52 USE_STUN = YES
53 STUN_FREQUENCY = 5 min
54 # Default list of stun servers
55 STUN_SERVERS = stun.gnunet.org stun.services.mozilla.com:3478 stun.ekiga.net:3478
56
57
58 [gnunet-nat-server]
59 HOSTNAME = gnunet.org
60 PORT = 5724
61 NOARMBIND = YES