diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-14 20:58:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-14 20:58:36 +0000 |
commit | 4f285bb38af149f35a1bd3e730ac6bac7b14fd53 (patch) | |
tree | 690774a9d24d61f7713f38ca3574d0b620ff661b /src/exit/exit.conf | |
parent | c1e66b2a4e2ccf3fc4f3396d97254fa058c6ae73 (diff) | |
download | gnunet-4f285bb38af149f35a1bd3e730ac6bac7b14fd53.tar.gz gnunet-4f285bb38af149f35a1bd3e730ac6bac7b14fd53.zip |
changing exit helper code to automatically do the network configuration for an exit node (by running sysctl/iptables commands as necessary)
Diffstat (limited to 'src/exit/exit.conf')
-rw-r--r-- | src/exit/exit.conf | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/src/exit/exit.conf b/src/exit/exit.conf index 83dfae888..bbf463047 100644 --- a/src/exit/exit.conf +++ b/src/exit/exit.conf | |||
@@ -1,12 +1,43 @@ | |||
1 | [exit] | 1 | [exit] |
2 | CONFIG = $DEFAULTCONFIG | 2 | CONFIG = $DEFAULTCONFIG |
3 | BINARY = gnunet-daemon-exit | 3 | BINARY = gnunet-daemon-exit |
4 | |||
5 | # IPv6 address for the TUN interface (must be changed as this | ||
6 | # must be within the global IPv6 range of your system!) | ||
4 | IPV6ADDR = 1234:1::1 | 7 | IPV6ADDR = 1234:1::1 |
8 | |||
9 | # Prefix for our IPv6 subnet on the TUN interface. | ||
5 | IPV6PREFIX = 32 | 10 | IPV6PREFIX = 32 |
11 | |||
12 | # IPv4 address to use on our TUN interface (may need to be | ||
13 | # changed to avoid conflicts with existing addresses on your system). | ||
6 | IPV4ADDR = 10.10.1.1 | 14 | IPV4ADDR = 10.10.1.1 |
15 | |||
16 | # Netmask for the IPv4 subnet on the TUN interface. | ||
7 | IPV4MASK = 255.255.0.0 | 17 | IPV4MASK = 255.255.0.0 |
8 | IFNAME = exit-gnunet | ||
9 | ENABLE_UDP = NO | ||
10 | ENABLE_TCP = NO | ||
11 | 18 | ||
12 | # MAX_CONNECTIONS = 256 | 19 | |
20 | # Name of the (virtual) tunnel interface the exit daemon will manage | ||
21 | TUN_IFNAME = exit-gnunet | ||
22 | |||
23 | # Name of the "real" interface that IPv4 traffic from this system will | ||
24 | # leave from; this is the name of the interface where we need to | ||
25 | # enable NAT on postrouting (typically something like 'eth0' or 'eth1' | ||
26 | # or 'wlan0'). Not needed if EXIT_IPv4 is disabled. | ||
27 | EXIT_IFNAME = eth0 | ||
28 | |||
29 | # Set this to YES to allow exiting this system via IPv4 to the Internet | ||
30 | EXIT_IPV4 = NO | ||
31 | |||
32 | # Set this to YES to allow exiting this system via IPv6 to the Internet | ||
33 | EXIT_IPV6 = NO | ||
34 | |||
35 | # For IPv4-services offered by this peer, we need to at least enable IPv4 | ||
36 | ENABLE_IPV4 = NO | ||
37 | |||
38 | # For IPv6-services offered by this peer, we need to at least enable IPv6 | ||
39 | ENABLE_IPV6 = NO | ||
40 | |||
41 | |||
42 | # Maximum number of concurrent connections this exit supports. | ||
43 | MAX_CONNECTIONS = 256 | ||