aboutsummaryrefslogtreecommitdiff
path: root/src/exit/exit.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-14 20:58:36 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-14 20:58:36 +0000
commit4f285bb38af149f35a1bd3e730ac6bac7b14fd53 (patch)
tree690774a9d24d61f7713f38ca3574d0b620ff661b /src/exit/exit.conf
parentc1e66b2a4e2ccf3fc4f3396d97254fa058c6ae73 (diff)
downloadgnunet-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.conf39
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]
2CONFIG = $DEFAULTCONFIG 2CONFIG = $DEFAULTCONFIG
3BINARY = gnunet-daemon-exit 3BINARY = 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!)
4IPV6ADDR = 1234:1::1 7IPV6ADDR = 1234:1::1
8
9# Prefix for our IPv6 subnet on the TUN interface.
5IPV6PREFIX = 32 10IPV6PREFIX = 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).
6IPV4ADDR = 10.10.1.1 14IPV4ADDR = 10.10.1.1
15
16# Netmask for the IPv4 subnet on the TUN interface.
7IPV4MASK = 255.255.0.0 17IPV4MASK = 255.255.0.0
8IFNAME = exit-gnunet
9ENABLE_UDP = NO
10ENABLE_TCP = NO
11 18
12# MAX_CONNECTIONS = 256 19
20# Name of the (virtual) tunnel interface the exit daemon will manage
21TUN_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.
27EXIT_IFNAME = eth0
28
29# Set this to YES to allow exiting this system via IPv4 to the Internet
30EXIT_IPV4 = NO
31
32# Set this to YES to allow exiting this system via IPv6 to the Internet
33EXIT_IPV6 = NO
34
35# For IPv4-services offered by this peer, we need to at least enable IPv4
36ENABLE_IPV4 = NO
37
38# For IPv6-services offered by this peer, we need to at least enable IPv6
39ENABLE_IPV6 = NO
40
41
42# Maximum number of concurrent connections this exit supports.
43MAX_CONNECTIONS = 256