summaryrefslogtreecommitdiff
path: root/contrib/defaults.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-11-28 21:22:27 +0000
committerChristian Grothoff <christian@grothoff.org>2010-11-28 21:22:27 +0000
commit3d9249277dfe61dce18bfc639f597e18daee0dbf (patch)
tree2eb3958af47f9289afb04145760ef57107e87aad /contrib/defaults.conf
parent8de189bfcf8a5d6d4713c9151a7746a94c54c9a8 (diff)
stuff
Diffstat (limited to 'contrib/defaults.conf')
-rw-r--r--contrib/defaults.conf33
1 files changed, 26 insertions, 7 deletions
diff --git a/contrib/defaults.conf b/contrib/defaults.conf
index 6c6faa3d7..b29a79361 100644
--- a/contrib/defaults.conf
+++ b/contrib/defaults.conf
@@ -16,20 +16,39 @@ WEAKRANDOM = NO
HOME = $SERVICEHOME
[transport-tcp]
+# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
PORT = 2086
+
+# Should we use ICMP-based NAT traversal to try connect to NATed peers?
+ALLOW_NAT = YES
+
+# Are we behind NAT and should use ICMP-based NAT traversal?
+BEHIND_NAT = YES
+
+# 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 =
+
+# 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 =
+
+# Only bind to a specific IP address; if both are given, this should be idential to INTERNAL_ADDRESS
+# (but use different: this one restricts our bind!)
+# BINDTO =
+
TIMEOUT = 300000
-# MAXBUF =
+
+# Are we allowed to try UPnP/PMP?
+ENABLE_UPNP = YES
+# Disable IPv6 support
# DISABLEV6 =
-# BINDTO =
# ACCEPT_FROM =
# ACCEPT_FROM6 =
# REJECT_FROM =
# REJECT_FROM6 =
-# BEHIND_NAT =
-# ONLY_NAT_ADDRESSES =
-# ALLOW_NAT =
-# INTERNAL_ADDRESS =
-# EXTERNAL_ADDRESS =
[transport-udp]
PORT = 2086