diff options
Diffstat (limited to 'src/pt/test_gns_vpn.conf')
-rw-r--r-- | src/pt/test_gns_vpn.conf | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/pt/test_gns_vpn.conf b/src/pt/test_gns_vpn.conf new file mode 100644 index 0000000..269def8 --- /dev/null +++ b/src/pt/test_gns_vpn.conf @@ -0,0 +1,58 @@ +[PATHS] +SERVICEHOME = /tmp/gnunet-test-gns-vpn/ + +[transport] +PLUGINS = tcp + +[arm] +DEFAULTSERVICES = statistics exit mesh vpn namestore gns +PORT = 0 +ALLOW_SHUTDOWN = YES + +[exit] +EXIT_IPV4 = YES +EXIT_IPV6 = YES + +# FIXME: can we use 'lo'? +EXIT_IFNAME = eth1 + +[dns] +DNS_EXIT = 8.8.8.8 + +[testing] +WEAKRANDOM = YES +HOSTKEYSFILE = ../../contrib/testing_hostkeys.dat + +[nse] +WORKBITS = 1 + +# repeating some values from the default configurations +# here as the respective network addresses are also +# hard-wired in the tests and the MUST match (!) +[vpn] +IPV6ADDR = FC2D:FDAA:6A26::1 +IPV6PREFIX = 64 +IPV4ADDR = 169.254.20.1 +IPV4MASK = 255.255.255.0 + +[exit] +IPV6ADDR = FC5A:04E1:C2BA::1 +IPV6PREFIX = 96 +IPV4ADDR = 169.254.86.1 +IPV4MASK = 255.255.255.0 + +[www.gads.] +TCP_REDIRECTS = 80:localhost4:8080 +TTL = 3600000 + +[gns] +AUTOSTART = YES +ZONEKEY = $SERVICEHOME/.hostkey +HIJACK_DNS = YES + +[namestore] +AUTOSTART = YES + +[nat] +USE_LOCALADDR = YES +RETURN_LOCAL_ADDRESSES = YES |