aboutsummaryrefslogtreecommitdiff
path: root/contrib/defaults.conf
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/defaults.conf')
-rw-r--r--contrib/defaults.conf32
1 files changed, 22 insertions, 10 deletions
diff --git a/contrib/defaults.conf b/contrib/defaults.conf
index b29a79361..af9b8f818 100644
--- a/contrib/defaults.conf
+++ b/contrib/defaults.conf
@@ -18,31 +18,39 @@ HOME = $SERVICEHOME
18[transport-tcp] 18[transport-tcp]
19# Use 0 to ONLY advertise as a peer behind NAT (no port binding) 19# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
20PORT = 2086 20PORT = 2086
21ADVERTISED_PORT = 2086
21 22
22# Should we use ICMP-based NAT traversal to try connect to NATed peers? 23# Are we behind NAT?
23ALLOW_NAT = YES
24
25# Are we behind NAT and should use ICMP-based NAT traversal?
26BEHIND_NAT = YES 24BEHIND_NAT = YES
27 25
28# IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY; 26# Is the NAT hole-punched?
29# normal interface IP address for non-NATed peers; 27#NEW: PUNCHED_NAT = NO
30# likely auto-detected (via interface list) if not specified (!)
31# INTERNAL_ADDRESS =
32 28
33# External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!) 29# External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!)
34# normal interface IP address for non-NATed peers; 30# normal interface IP address for non-NATed peers;
35# possibly auto-detected (using UPnP) if possible if not specified 31# possibly auto-detected (using UPnP) if possible if not specified
36# EXTERNAL_ADDRESS = 32# EXTERNAL_ADDRESS =
37 33
34# Should we use ICMP-based NAT traversal to try connect to NATed peers
35# or, if we are behind NAT, to allow connections to us?
36ALLOW_NAT = YES
37#NEW: ENABLE_ICMP_CLIENT = YES
38#NEW: ENABLE_ICMP_SERVER = YES
39
40# Are we allowed to try UPnP/PMP?
41ENABLE_UPNP = YES
42
43# IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY;
44# normal interface IP address for non-NATed peers;
45# likely auto-detected (via interface list) if not specified (!)
46# INTERNAL_ADDRESS =
47
38# Only bind to a specific IP address; if both are given, this should be idential to INTERNAL_ADDRESS 48# Only bind to a specific IP address; if both are given, this should be idential to INTERNAL_ADDRESS
39# (but use different: this one restricts our bind!) 49# (but use different: this one restricts our bind!)
40# BINDTO = 50# BINDTO =
41 51
42TIMEOUT = 300000 52TIMEOUT = 300000
43 53
44# Are we allowed to try UPnP/PMP?
45ENABLE_UPNP = YES
46# Disable IPv6 support 54# Disable IPv6 support
47# DISABLEV6 = 55# DISABLEV6 =
48# ACCEPT_FROM = 56# ACCEPT_FROM =
@@ -270,7 +278,11 @@ CONFIG = $DEFAULTCONFIG
270BINARY = gnunet-service-fs 278BINARY = gnunet-service-fs
271ACCEPT_FROM = 127.0.0.1; 279ACCEPT_FROM = 127.0.0.1;
272ACCEPT_FROM6 = ::1; 280ACCEPT_FROM6 = ::1;
281
273ACTIVEMIGRATION = YES 282ACTIVEMIGRATION = YES
283# NEW: CONTENT_CACHING = YES
284# NEW: CONTENT_PUSHING = YES
285
274UNIXPATH = /tmp/gnunet-service-fs.sock 286UNIXPATH = /tmp/gnunet-service-fs.sock
275# DISABLE_SOCKET_FORWARDING = NO 287# DISABLE_SOCKET_FORWARDING = NO
276# DEBUG = YES 288# DEBUG = YES