From 8a3016481ba6aeb36de3950a56e641dda53ca544 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 25 Jun 2011 06:24:01 +0000 Subject: the big NAT change --- contrib/defaults.conf | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'contrib') diff --git a/contrib/defaults.conf b/contrib/defaults.conf index 2c2cd7a77..4c21158c8 100644 --- a/contrib/defaults.conf +++ b/contrib/defaults.conf @@ -31,6 +31,9 @@ PUNCHED_NAT = NO # Disable UPNP by default until it gets cleaner! ENABLE_UPNP = NO +# Use addresses from the local network interfaces (inluding loopback, but also others) +USE_LOCALADDR = YES + # 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 @@ -58,12 +61,8 @@ ADVERTISED_PORT = 2086 # Maximum number of open TCP connections allowed MAX_CONNECTIONS = 128 -# After how long do we drop inactive connections? TIMEOUT = 5000 -# Allow use of loopback address -USE_LOCALADDR = NO - # ACCEPT_FROM = # ACCEPT_FROM6 = # REJECT_FROM = @@ -74,20 +73,13 @@ USE_LOCALADDR = NO [transport-udp] PORT = 2086 -# Allow use of loopback address -USE_LOCALADDR = NO - [transport-http] PORT = 1080 -# Allow use of loopback address -USE_LOCALADDR = NO [transport-https] PORT = 4433 -# Allow use of loopback address -USE_LOCALADDR = NO [transport-wlan] -- cgit v1.2.3