aboutsummaryrefslogtreecommitdiff
path: root/contrib/defaults.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-09 13:13:05 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-09 13:13:05 +0000
commit39de47ee0338e636c0172236e4021ef491bff4e1 (patch)
tree61fe6cf46cd17a1334a2f926733a22f38257a9fb /contrib/defaults.conf
parent6f984f1d1915498a7d8b9cbae13a593c976b5f6e (diff)
downloadgnunet-39de47ee0338e636c0172236e4021ef491bff4e1.tar.gz
gnunet-39de47ee0338e636c0172236e4021ef491bff4e1.zip
moving NAT options into their own section
Diffstat (limited to 'contrib/defaults.conf')
-rw-r--r--contrib/defaults.conf37
1 files changed, 24 insertions, 13 deletions
diff --git a/contrib/defaults.conf b/contrib/defaults.conf
index 0d1bffab9..6c467f895 100644
--- a/contrib/defaults.conf
+++ b/contrib/defaults.conf
@@ -21,11 +21,7 @@ MAX_OUTSTANDING_CONNECTIONS = 50
21[client] 21[client]
22HOME = $SERVICEHOME 22HOME = $SERVICEHOME
23 23
24[transport-tcp] 24[nat]
25# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
26PORT = 2086
27ADVERTISED_PORT = 2086
28
29# Are we behind NAT? 25# Are we behind NAT?
30BEHIND_NAT = YES 26BEHIND_NAT = YES
31 27
@@ -54,29 +50,44 @@ ENABLE_ICMP_SERVER = YES
54# (but use different: this one restricts our bind!) 50# (but use different: this one restricts our bind!)
55# BINDTO = 51# BINDTO =
56 52
53# Disable IPv6 support
54DISABLEV6 = NO
55
56
57[transport-tcp]
58# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
59PORT = 2086
60ADVERTISED_PORT = 2086
61
57TIMEOUT = 300000 62TIMEOUT = 300000
58 63
59# Disable IPv6 support 64# Allow use of loopback address
60# DISABLEV6 = 65USE_LOCALADDR = NO
66
61# ACCEPT_FROM = 67# ACCEPT_FROM =
62# ACCEPT_FROM6 = 68# ACCEPT_FROM6 =
63# REJECT_FROM = 69# REJECT_FROM =
64# REJECT_FROM6 = 70# REJECT_FROM6 =
65 71
72
66[transport-udp] 73[transport-udp]
67PORT = 2086 74PORT = 2086
68# BEHIND_NAT = 75
69# BINDTO = 76# Allow use of loopback address
70# ALLOW_NAT = 77USE_LOCALADDR = NO
71# ONLY_NAT_ADDRESSES = 78
72# INTERNAL_ADDRESS =
73# EXTERNAL_ADDRESS =
74 79
75[transport-http] 80[transport-http]
76PORT = 1080 81PORT = 1080
82# Allow use of loopback address
83USE_LOCALADDR = NO
84
77 85
78[transport-https] 86[transport-https]
79PORT = 4433 87PORT = 4433
88# Allow use of loopback address
89USE_LOCALADDR = NO
90
80 91
81[transport-wlan] 92[transport-wlan]
82# Name of the interface in monitor mode (typically monX) 93# Name of the interface in monitor mode (typically monX)