-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathwarzone.conf
64 lines (49 loc) · 2.55 KB
/
warzone.conf
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
59
60
61
62
63
# name of this node:
$my_peerid = "unconfigured_please_change_me";
# Local IP address(es) of this node/gateway.
# If you want to use IPv4 only, you can leave the IPv6 field empty.
$my_vpn_ip = "10.104.0.255";
$my_vpn_ip6 = "";
$my_ip = ""; # address for tincd to listen on, empty for 0.0.0.0
# The exclude parameter can contain a list of node names. A VPN connection
# will not established to them. You may want to use it if you have another
# VPN, or direct connection to these nodes.
@exclude = ();
# ============================================================================
# you should'nt need to change anything below,
# at least not for linux and chaosvpn
$networkname = "warzone";
$tincd_bin = "/usr/sbin/tincd";
$routemetric = "0";
$routeadd = "/sbin/ip -4 route add %s metric $routemetric dev \$INTERFACE";
$routeadd6 = "/sbin/ip -6 route add %s metric $routemetric dev \$INTERFACE";
$routedel = "/sbin/ip -4 route del %s metric $routemetric dev \$INTERFACE";
$routedel6 = "/sbin/ip -6 route del %s metric $routemetric dev \$INTERFACE";
$ifconfig = "/sbin/ifconfig \$INTERFACE $my_vpn_ip netmask 255.255.255.255";
$ifconfig6 = "/sbin/ip addr add $my_vpn_ip6/128 dev \$INTERFACE";
$master_url = "http://warzone-conf.hamburg.ccc.de/warzone-data/$my_peerid.dat";
# public key of key used to sign the file at $master_url:
$masterdata_signkey = "-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyRYt4CCvOgZ0SHpp7gWs
TPnt9fAK8vfw2ClEsHv/KjScwd5G3a/LGzngUSEHHdTegmI9qsvUQgFrjINsdGuL
R+dj+Wd8tjBDMqd6rQUdo5KA+54DH+c7NJmvqghJpXvfBjpqKWWdmsYkZbKLCqmb
Cd+BrS8OmDLOceS3+LlV8LWi+jQbtl4WHtcwvKY4uLOHk0wZ1eEOmpK0HG6AwEAQ
0Wk/Fn36WkFjo50gQZyGZHGNGzW8bcrvmowbGDweNxHxVIKmpoqrQHcc2FRRqkWZ
4MaNbqJquzHdlr/BQJjYwkBN1iPnUP3GizNDEtqfJTBnG1wx57mcgz+cFdIGnSZ3
fsI9ixEMN53V06l6DWzymgmNlgImwySUUdx+sQgnjcD0WJjjigfO6G254z4dsvd8
FOUKimAqNv61+40KFyL+xBCB5Bb/PR241f8LSGet5vNeXGrQ9yQFWZ5+T/uv0xyX
8gyF2sERnHhVLjktHmh3TgESUy9JXmcnTOhWc7zprBFMiM602JXVNux+CvTx1T93
Ru7JY5CTvQHl4GstmLasS4PJXUt8G4jrc1/J0L8cSgPzBs8Q07/d5NHYAC//V9bO
LDemLH4b5DwCU4M5Wg9q0A2KGbBGi4N0mHX53POfxSPGphVSLotghn5JVRjcXvuO
dBnDxVwvtffivan5CX8dIJECAwEAAQ==
-----END PUBLIC KEY-----";
$base = "/etc/tinc/$networkname";
$pidfile = "/var/run/tinc.$networkname.pid";
$tmpconffile = "$base/warzone-config.temp";
$tincd_debuglevel = 2;
#$tincd_graphdumpfile = "/var/run/tinc.$networkname.dump";
# Number of seconds to wait before tincd is restarted after it has
# unexpectedly terminated
$tincd_restart_delay = 5;
# Number of seconds to wait between refetching the remote config
$update_interval = 3600;