summaryrefslogtreecommitdiff
path: root/etc/anytun/server/config
blob: a23ddfb1e1eb656dbe5846515ee9240d6a353e2d (plain) (blame)
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
#############################
## multi connection support #
#############################

## Controll Host for multi client support
## This enables multi-connection support and split configuration files per client
## Make sure to use a unique port for each server, when runnig multible servers
control-host 127.0.0.1:4444

#############################
## Main options             #
#############################

## Device name
dev anytun0

# device type tun = ip/ipv6, tap = ethernet
type tun

## payload encryption algorithm
cipher aes-ctr
#cipher null

## message authentication algorithm
auth-algo sha1
#auth-algo null

## local ip address to bind to (for tunnel data)
## (if you operate an anycast cluster this must be the anycast ip address)
#interface <ip-address>

## local port to bind to (for tunnel data)
## make sure to use a different port for every server and client!
port 4444

#############################
## Debug options            #
#############################
## don't run in background
#nodaemonize

#############################
## Expert options           #
#############################
## Automaticaly configure the interface an set a route
##
## We highly recommend the use of the post up script to do this
##
## 1st argument the local address for the tun/tap device
## 2nd argument is either the remote address(tun) or netmask(tap)
#ifconfig <local> <remote|netmask>

#############################
## Cluster options          #
#############################
## the sender id to use (has to be unique for multible anycast servers)
#sender-id 1
## local unicast(sync) ip address to bind to
# sync-interface <ip-address>
## local unicast(sync) port to bind to
#sync-port 1234
## remote hosts to sync with
#sync-hosts <hostname|ip>:<port>[,<hostname|ip>:<port>[...]]