summaryrefslogtreecommitdiff
path: root/etc/anytun/server/conf.d/client3
diff options
context:
space:
mode:
Diffstat (limited to 'etc/anytun/server/conf.d/client3')
-rw-r--r--etc/anytun/server/conf.d/client349
1 files changed, 43 insertions, 6 deletions
diff --git a/etc/anytun/server/conf.d/client3 b/etc/anytun/server/conf.d/client3
index 2108cb3..a3d7f25 100644
--- a/etc/anytun/server/conf.d/client3
+++ b/etc/anytun/server/conf.d/client3
@@ -1,9 +1,46 @@
-route 192.168.123.3/32
-window-size 0
+#############################
+## main options #
+#############################
+
+## Client ID
+## (has to be unique for each client)
mux 3
-key 3123456789ABCDEF0123456789ABCDEF
-salt 3123456789ABCD0123456789ABCD
-## remote host (autodetect if skiped)
+
+## 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 host (autodetect if skiped)
#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.3/32
+route fec0::3/128
+
+## Add a subnet route
+## make sure to also set a system route in the post-up script
+#route 192.168.13.0/24
+#route fec0:3::/48
+
+
+#############################
+## Expert options #
+#############################
+
+##Manually set encryption key and salt
+## (this replaces the passphrase)
+#key 3123456789ABCDEF0123456789ABCDEF
+#salt 3123456789ABCD0123456789ABCD
+
+## Setting a window size > 0 will enable replay protection
+## This most likely will only work with external rekeying
+#window-size 0