diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-09 13:13:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-09 13:13:05 +0000 |
commit | 39de47ee0338e636c0172236e4021ef491bff4e1 (patch) | |
tree | 61fe6cf46cd17a1334a2f926733a22f38257a9fb /contrib/defaults.conf | |
parent | 6f984f1d1915498a7d8b9cbae13a593c976b5f6e (diff) | |
download | gnunet-39de47ee0338e636c0172236e4021ef491bff4e1.tar.gz gnunet-39de47ee0338e636c0172236e4021ef491bff4e1.zip |
moving NAT options into their own section
Diffstat (limited to 'contrib/defaults.conf')
-rw-r--r-- | contrib/defaults.conf | 37 |
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] |
22 | HOME = $SERVICEHOME | 22 | HOME = $SERVICEHOME |
23 | 23 | ||
24 | [transport-tcp] | 24 | [nat] |
25 | # Use 0 to ONLY advertise as a peer behind NAT (no port binding) | ||
26 | PORT = 2086 | ||
27 | ADVERTISED_PORT = 2086 | ||
28 | |||
29 | # Are we behind NAT? | 25 | # Are we behind NAT? |
30 | BEHIND_NAT = YES | 26 | BEHIND_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 | ||
54 | DISABLEV6 = NO | ||
55 | |||
56 | |||
57 | [transport-tcp] | ||
58 | # Use 0 to ONLY advertise as a peer behind NAT (no port binding) | ||
59 | PORT = 2086 | ||
60 | ADVERTISED_PORT = 2086 | ||
61 | |||
57 | TIMEOUT = 300000 | 62 | TIMEOUT = 300000 |
58 | 63 | ||
59 | # Disable IPv6 support | 64 | # Allow use of loopback address |
60 | # DISABLEV6 = | 65 | USE_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] |
67 | PORT = 2086 | 74 | PORT = 2086 |
68 | # BEHIND_NAT = | 75 | |
69 | # BINDTO = | 76 | # Allow use of loopback address |
70 | # ALLOW_NAT = | 77 | USE_LOCALADDR = NO |
71 | # ONLY_NAT_ADDRESSES = | 78 | |
72 | # INTERNAL_ADDRESS = | ||
73 | # EXTERNAL_ADDRESS = | ||
74 | 79 | ||
75 | [transport-http] | 80 | [transport-http] |
76 | PORT = 1080 | 81 | PORT = 1080 |
82 | # Allow use of loopback address | ||
83 | USE_LOCALADDR = NO | ||
84 | |||
77 | 85 | ||
78 | [transport-https] | 86 | [transport-https] |
79 | PORT = 4433 | 87 | PORT = 4433 |
88 | # Allow use of loopback address | ||
89 | USE_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) |