M testbed/testbed.h
[oweals/gnunet.git] / src / exit / exit.conf
1 [exit]
2 BINARY = gnunet-daemon-exit
3
4 # IPv6 address for the TUN interface (must be changed as this
5 # must be within the global IPv6 range of your system!)
6 IPV6ADDR = 2001:DB8::1
7
8 # Prefix for our IPv6 subnet on the TUN interface. 
9 IPV6PREFIX = 64
10
11 # IPv4 address to use on our TUN interface (may need to be
12 # changed to avoid conflicts with existing addresses on your system).
13 # Use RFC 3927-style link-local address
14 IPV4ADDR = 169.254.86.1
15
16 # Netmask for the IPv4 subnet on the TUN interface.
17 IPV4MASK = 255.255.255.0
18
19 # Regular expression matching IPv4 addresses in binary (32 values of 0 or 1) 
20 # format for which this system is willing to serve as an exit.
21 EXIT_RANGE_IPV4_REGEX = (0|1)*
22
23 # Regular expression matching IPv4 addresses in binary (128 values of 0 or 1) 
24 # format for which this system is willing to serve as an exit.
25 EXIT_RANGE_IPV6_REGEX = (0|1)*
26
27
28 # Name of the (virtual) tunnel interface the exit daemon will manage
29 TUN_IFNAME = exit-gnunet
30
31 # Name of the "real" interface that IPv4 traffic from this system will
32 # leave from; this is the name of the interface where we need to
33 # enable NAT on postrouting (typically something like 'eth0' or 'eth1'
34 # or 'wlan0').  Not needed if EXIT_IPv4 is disabled AND if all
35 # offered services run on 'localhost'.  In this case, the value
36 # of the option can instead be set to "%" (to not enable NAT on any
37 # interface).
38 EXIT_IFNAME = eth0
39
40 # Set this to YES to allow exiting this system via IPv4 to the Internet
41 EXIT_IPV4 = NO
42
43 # Set this to YES to allow exiting this system via IPv6 to the Internet
44 EXIT_IPV6 = NO
45
46 # This option should be set to YES to allow the DNS service to 
47 # perform lookups against the locally configured DNS resolver.
48 # (set to "NO" if no normal ISP is locally available and thus
49 # requests for normal ".com"/".org"/etc. must be routed via 
50 # the GNUnet VPN (the GNUNET PT daemon then needs to be configured
51 # to intercept and route DNS queries via mesh).
52 # Set this to YES to allow using this system for DNS queries.
53 EXIT_DNS = NO
54
55 # Set this to an IPv4 or IPv6 address of a DNS resolver to use for DNS queries
56 DNS_RESOLVER = 8.8.8.8
57
58 # For IPv4-services offered by this peer, we need to at least enable IPv4
59 ENABLE_IPV4 = YES
60
61 # For IPv6-services offered by this peer, we need to at least enable IPv6
62 ENABLE_IPV6 = YES
63
64
65 # Maximum number of concurrent connections this exit supports.
66 MAX_CONNECTIONS = 256