aboutsummaryrefslogtreecommitdiff
path: root/src/pt/test_gns_vpn.conf
blob: 269def876e2c7ecbd4daee625e0b2cedd9e694d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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