diff options
Diffstat (limited to 'etc/anytun/server/conf.d/client1')
-rw-r--r-- | etc/anytun/server/conf.d/client1 | 48 |
1 files changed, 42 insertions, 6 deletions
diff --git a/etc/anytun/server/conf.d/client1 b/etc/anytun/server/conf.d/client1 index c9b6f56..894fee7 100644 --- a/etc/anytun/server/conf.d/client1 +++ b/etc/anytun/server/conf.d/client1 @@ -1,9 +1,45 @@ -route 192.168.123.1/32 -window-size 0 +############################# +## main options # +############################# + +## Client ID +## (has to be unique for each client) mux 1 -key 0123456789ABCDEF0123456789ABCDEF -salt 0123456789ABCD0123456789ABCD -## 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 remote address +## (autodetect if skiped) #remote-host <hostname|ip> -## remote host (autodetect if skiped) #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 |