Imported Upstream version 0.3
[anytun.git] / etc / anytun / server / conf.d / client2
1 #############################
2 ## main options             #
3 #############################
4
5 role server
6
7 ## Client ID
8 ##  (has to be unique for each client)
9 mux 2
10
11 ## Passphrase
12 ## this is used to generate the crypto-key and salt
13 ## this should be al least 30 characters
14 passphrase Creating_VPN_Tunnels_With_Anytun_Is_Easy
15
16 ## staticially configure client address
17 ## (autodetect if skiped)
18 #remote-host <hostname|ip>
19 #remote-port 4444
20
21 #############################
22 ## routing options          #
23 #############################
24
25 ## Internal Routing entries
26 ## multiple routes allowed
27 ## make sure to also set a system route in the post-up script
28 route 192.168.123.2/32
29 route fec0::2/128
30
31 ## Add a subnet route
32 ## make sure to also set a system route in the post-up script
33 #route 192.168.12.0/24
34 #route fec0:2::/48
35
36
37 #############################
38 ## Expert options           #
39 #############################
40
41 ## Manually set encryption key and salt
42 ## (this replaces the passphrase)
43 #key 2123456789ABCDEF0123456789ABCDEF
44 #salt 2123456789ABCD0123456789ABCD
45
46 ## Setting a window size > 0 will enable replay protection
47 ## This most likely will only work with external rekeying
48 #window-size 0