diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-25 06:24:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-25 06:24:01 +0000 |
commit | 8a3016481ba6aeb36de3950a56e641dda53ca544 (patch) | |
tree | 0c5468ec6e5d2165ad5931940e0b8439d09398de /src/nat/test_nat_data.conf | |
parent | b6d4eeb39fd0cd41df164bd0959f58b08aa45e83 (diff) | |
download | gnunet-8a3016481ba6aeb36de3950a56e641dda53ca544.tar.gz gnunet-8a3016481ba6aeb36de3950a56e641dda53ca544.zip |
the big NAT change
Diffstat (limited to 'src/nat/test_nat_data.conf')
-rw-r--r-- | src/nat/test_nat_data.conf | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/src/nat/test_nat_data.conf b/src/nat/test_nat_data.conf new file mode 100644 index 000000000..c312c69fb --- /dev/null +++ b/src/nat/test_nat_data.conf | |||
@@ -0,0 +1,136 @@ | |||
1 | [PATHS] | ||
2 | SERVICEHOME = /tmp/nat-test | ||
3 | # SERVICEHOME = /var/lib/gnunet/ | ||
4 | # DEFAULTCONFIG = /etc/gnunet.conf | ||
5 | # If 'DEFAULTCONFIG' is not defined, the current | ||
6 | # configuration file is assumed to be the default, | ||
7 | # which is what we want by default... | ||
8 | |||
9 | [gnunetd] | ||
10 | HOSTKEY = $SERVICEHOME/.hostkey | ||
11 | |||
12 | [TESTING] | ||
13 | WEAKRANDOM = NO | ||
14 | |||
15 | [client] | ||
16 | HOME = $SERVICEHOME | ||
17 | |||
18 | |||
19 | [nat] | ||
20 | # Are we behind NAT? | ||
21 | BEHIND_NAT = YES | ||
22 | |||
23 | # Is the NAT hole-punched? | ||
24 | PUNCHED_NAT = NO | ||
25 | |||
26 | # Disable UPNP by default until it gets cleaner! | ||
27 | ENABLE_UPNP = YES | ||
28 | |||
29 | # Use addresses from the local network interfaces (inluding loopback, but also others) | ||
30 | USE_LOCALADDR = YES | ||
31 | |||
32 | # External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!) | ||
33 | # normal interface IP address for non-NATed peers; | ||
34 | # possibly auto-detected (using UPnP) if possible if not specified | ||
35 | # EXTERNAL_ADDRESS = | ||
36 | |||
37 | # Should we use ICMP-based NAT traversal to try connect to NATed peers | ||
38 | # or, if we are behind NAT, to allow connections to us? | ||
39 | ENABLE_ICMP_CLIENT = YES | ||
40 | ENABLE_ICMP_SERVER = YES | ||
41 | |||
42 | # IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY; | ||
43 | # normal interface IP address for non-NATed peers; | ||
44 | # likely auto-detected (via interface list) if not specified (!) | ||
45 | # INTERNAL_ADDRESS = | ||
46 | |||
47 | # Disable IPv6 support | ||
48 | DISABLEV6 = NO | ||
49 | |||
50 | [arm] | ||
51 | PORT = 2087 | ||
52 | HOSTNAME = localhost | ||
53 | HOME = $SERVICEHOME | ||
54 | CONFIG = $DEFAULTCONFIG | ||
55 | BINARY = gnunet-service-arm | ||
56 | ACCEPT_FROM = 127.0.0.1; | ||
57 | ACCEPT_FROM6 = ::1; | ||
58 | DEFAULTSERVICES = topology hostlist | ||
59 | UNIXPATH = /tmp/gnunet-service-arm.sock | ||
60 | UNIX_MATCH_UID = YES | ||
61 | UNIX_MATCH_GID = YES | ||
62 | # GLOBAL_POSTFIX = -l $SERVICEHOME/{}-logs | ||
63 | # GLOBAL_PREFIX = | ||
64 | # USERNAME = | ||
65 | # MAXBUF = | ||
66 | # TIMEOUT = | ||
67 | # DISABLEV6 = | ||
68 | # BINDTO = | ||
69 | # REJECT_FROM = | ||
70 | # REJECT_FROM6 = | ||
71 | # PREFIX = | ||
72 | |||
73 | [statistics] | ||
74 | AUTOSTART = YES | ||
75 | PORT = 2088 | ||
76 | HOSTNAME = localhost | ||
77 | HOME = $SERVICEHOME | ||
78 | CONFIG = $DEFAULTCONFIG | ||
79 | BINARY = gnunet-service-statistics | ||
80 | ACCEPT_FROM = 127.0.0.1; | ||
81 | ACCEPT_FROM6 = ::1; | ||
82 | UNIXPATH = /tmp/gnunet-service-statistics.sock | ||
83 | UNIX_MATCH_UID = NO | ||
84 | UNIX_MATCH_GID = YES | ||
85 | # DISABLE_SOCKET_FORWARDING = NO | ||
86 | # USERNAME = | ||
87 | # MAXBUF = | ||
88 | # TIMEOUT = | ||
89 | # DISABLEV6 = | ||
90 | # BINDTO = | ||
91 | # REJECT_FROM = | ||
92 | # REJECT_FROM6 = | ||
93 | # PREFIX = | ||
94 | |||
95 | [resolver] | ||
96 | AUTOSTART = YES | ||
97 | PORT = 2089 | ||
98 | HOSTNAME = localhost | ||
99 | HOME = $SERVICEHOME | ||
100 | CONFIG = $DEFAULTCONFIG | ||
101 | BINARY = gnunet-service-resolver | ||
102 | ACCEPT_FROM = 127.0.0.1; | ||
103 | ACCEPT_FROM6 = ::1; | ||
104 | UNIXPATH = /tmp/gnunet-service-resolver.sock | ||
105 | UNIX_MATCH_UID = NO | ||
106 | UNIX_MATCH_GID = NO | ||
107 | # DISABLE_SOCKET_FORWARDING = NO | ||
108 | # USERNAME = | ||
109 | # MAXBUF = | ||
110 | # TIMEOUT = | ||
111 | # DISABLEV6 = | ||
112 | # BINDTO = | ||
113 | # REJECT_FROM = | ||
114 | # REJECT_FROM6 = | ||
115 | # PREFIX = | ||
116 | |||
117 | [peerinfo] | ||
118 | AUTOSTART = NO | ||
119 | |||
120 | [transport] | ||
121 | AUTOSTART = NO | ||
122 | |||
123 | [core] | ||
124 | AUTOSTART = NO | ||
125 | |||
126 | [datastore] | ||
127 | AUTOSTART = NO | ||
128 | |||
129 | [fs] | ||
130 | AUTOSTART = NO | ||
131 | |||
132 | [dht] | ||
133 | AUTOSTART = NO | ||
134 | |||
135 | [mesh] | ||
136 | AUTOSTART = NO | ||