summaryrefslogtreecommitdiff
path: root/etc/anytun/server/conf.d/client2
blob: 597c8974dc8896bccc912007218b8cab5ff810f0 (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
#############################
## main options             #
#############################

## Client ID
##  (has to be unique for each client)
mux 2

## Passphrase
## this is used to generate the crypto-key and salt
## this should be al least 30 characters
passphrase Creating_VPN_Tunnels_With_Anytun_Is_Easy

## staticially configure client address
## (autodetect if skiped)
#remote-host <hostname|ip>
#remote-port 4444

#############################
## routing options          #
#############################

## Internal Routing entries
## multiple routes allowed
## make sure to also set a system route in the post-up script
route 192.168.123.2/32
route fec0::2/128

## Add a subnet route
## make sure to also set a system route in the post-up script
#route 192.168.12.0/24
#route fec0:2::/48


#############################
## Expert options           #
#############################

##Manually set encryption key and salt
## (this replaces the passphrase)
#key 2123456789ABCDEF0123456789ABCDEF
#salt 2123456789ABCD0123456789ABCD

## Setting a window size > 0 will enable replay protection
## This most likely will only work with external rekeying
#window-size 0