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

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

## 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 remote address
## (autodetect if skiped)
#remote-host <hostname|ip>
#remote-port 4444

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

## Internal Routing entries
## multible routes allowed
## make sure to also set a system route in the post-up script
route 192.168.123.1/32
route fec0::1/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:1::/48


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

##Manually set encryption key and salt
## (this replaces the passphrase)
#key 0123456789ABCDEF0123456789ABCDEF
#salt 0123456789ABCD0123456789ABCD
## Setting a window size > 0 will enable replay protection
## This most likely will only work with external rekeying
#window-size 0