diff options
Diffstat (limited to 'contrib/defaults.conf')
-rw-r--r-- | contrib/defaults.conf | 33 |
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 | |||
16 | HOME = $SERVICEHOME | 16 | HOME = $SERVICEHOME |
17 | 17 | ||
18 | [transport-tcp] | 18 | [transport-tcp] |
19 | # Use 0 to ONLY advertise as a peer behind NAT (no port binding) | ||
19 | PORT = 2086 | 20 | PORT = 2086 |
21 | |||
22 | # Should we use ICMP-based NAT traversal to try connect to NATed peers? | ||
23 | ALLOW_NAT = YES | ||
24 | |||
25 | # Are we behind NAT and should use ICMP-based NAT traversal? | ||
26 | BEHIND_NAT = YES | ||
27 | |||
28 | # IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY; | ||
29 | # normal interface IP address for non-NATed peers; | ||
30 | # likely auto-detected (via interface list) if not specified (!) | ||
31 | # INTERNAL_ADDRESS = | ||
32 | |||
33 | # 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; | ||
35 | # possibly auto-detected (using UPnP) if possible if not specified | ||
36 | # EXTERNAL_ADDRESS = | ||
37 | |||
38 | # 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!) | ||
40 | # BINDTO = | ||
41 | |||
20 | TIMEOUT = 300000 | 42 | TIMEOUT = 300000 |
21 | # MAXBUF = | 43 | |
44 | # Are we allowed to try UPnP/PMP? | ||
45 | ENABLE_UPNP = YES | ||
46 | # Disable IPv6 support | ||
22 | # DISABLEV6 = | 47 | # DISABLEV6 = |
23 | # BINDTO = | ||
24 | # ACCEPT_FROM = | 48 | # ACCEPT_FROM = |
25 | # ACCEPT_FROM6 = | 49 | # ACCEPT_FROM6 = |
26 | # REJECT_FROM = | 50 | # REJECT_FROM = |
27 | # REJECT_FROM6 = | 51 | # REJECT_FROM6 = |
28 | # BEHIND_NAT = | ||
29 | # ONLY_NAT_ADDRESSES = | ||
30 | # ALLOW_NAT = | ||
31 | # INTERNAL_ADDRESS = | ||
32 | # EXTERNAL_ADDRESS = | ||
33 | 52 | ||
34 | [transport-udp] | 53 | [transport-udp] |
35 | PORT = 2086 | 54 | PORT = 2086 |