aboutsummaryrefslogtreecommitdiff
path: root/src/exit/exit.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/exit.conf')
-rw-r--r--src/exit/exit.conf21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/exit/exit.conf b/src/exit/exit.conf
index 0d48de9..aadcee4 100644
--- a/src/exit/exit.conf
+++ b/src/exit/exit.conf
@@ -1,5 +1,4 @@
[exit]
-CONFIG = $DEFAULTCONFIG
BINARY = gnunet-daemon-exit
# IPv6 address for the TUN interface (must be changed as this
@@ -17,6 +16,14 @@ IPV4ADDR = 169.254.86.1
# Netmask for the IPv4 subnet on the TUN interface.
IPV4MASK = 255.255.255.0
+# Regular expression matching IPv4 addresses in binary (32 values of 0 or 1)
+# format for which this system is willing to serve as an exit.
+EXIT_RANGE_IPV4_REGEX = (0|1)*
+
+# Regular expression matching IPv4 addresses in binary (128 values of 0 or 1)
+# format for which this system is willing to serve as an exit.
+EXIT_RANGE_IPV6_REGEX = (0|1)*
+
# Name of the (virtual) tunnel interface the exit daemon will manage
TUN_IFNAME = exit-gnunet
@@ -36,6 +43,18 @@ EXIT_IPV4 = NO
# Set this to YES to allow exiting this system via IPv6 to the Internet
EXIT_IPV6 = NO
+# This option should be set to YES to allow the DNS service to
+# perform lookups against the locally configured DNS resolver.
+# (set to "NO" if no normal ISP is locally available and thus
+# requests for normal ".com"/".org"/etc. must be routed via
+# the GNUnet VPN (the GNUNET PT daemon then needs to be configured
+# to intercept and route DNS queries via mesh).
+# Set this to YES to allow using this system for DNS queries.
+EXIT_DNS = NO
+
+# Set this to an IPv4 or IPv6 address of a DNS resolver to use for DNS queries
+DNS_RESOLVER = 8.8.8.8
+
# For IPv4-services offered by this peer, we need to at least enable IPv4
ENABLE_IPV4 = YES