summaryrefslogtreecommitdiff
path: root/etc/anytun/client3/config
blob: 972364c97fd7e49a6069331a859f62581194021e (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
## Global Parameters
## don't run in background
#nodaemonize
## the sender id to use (has to be unique for multible anycast servers)
#sender-id 1
## log to syslog with level of 3
log syslog:3,anytun-client3,daemon
## local anycast ip address to bind to
#interface <ip-address>
## local anycast(data) port to bind to
#port 4444
## 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>[...]]
## 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
## Automaticaly configure the interface an set a route
## 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>
## Controll Host for multi client support
#control-host 127.0.0.1:4445

### Connection Parameters (for clients without config server)
## Allow all ipv4 and ipv6 traffic 
## this does not set operating system routes
route 0.0.0.0/0
route ::/0
## remote host
remote-host example.com
## remote port
remote-port 4444
##seqence number window size
## 0 turns off replay protection (for manualk keying)
window-size 0
## the multiplex id to use
mux 3
## master key to use for encryption
key 3123456789ABCDEF0123456789ABCDEF
## master salt to use for encryption
salt 3123456789ABCD0123456789ABCD