summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/anytun/client1/config39
-rw-r--r--etc/anytun/client2/config39
-rw-r--r--etc/anytun/client3/config39
-rw-r--r--etc/anytun/server/config20
4 files changed, 104 insertions, 33 deletions
diff --git a/etc/anytun/client1/config b/etc/anytun/client1/config
index 10e7ad1..8516020 100644
--- a/etc/anytun/client1/config
+++ b/etc/anytun/client1/config
@@ -25,16 +25,9 @@ auth-algo sha1
## this should be al least 30 characters
passphrase Creating_VPN_Tunnels_With_Anytun_Is_Easy
-## local ip address to bind to (for tunnel data)
-## (if you run an anycast cluster this has to be the anycast ip address)
-#interface <ip-address>
-
-## local port to bind to (for tunnel data)
-## make sure to use a different port for every server and client!
-port 4444
-
-## log to syslog with a level of 3
-log syslog:3,anytun-client1,daemon
+## The remote host and port
+remote-host example.com
+remote-port 4444
#############################
## Debug options #
@@ -46,10 +39,36 @@ log syslog:3,anytun-client1,daemon
## additional log to standard output with a level of 5
#log stdout:5
+
#############################
## Expert options #
#############################
+## log to syslog with a level of 3
+log syslog:3,anytun-client1,daemon
+
+## change user and group after init
+username nobody
+groupname nogroup
+
+## chroot to /var/run/anytun
+#chroot /var/run/anytun
+
+## key derivation pseudo random function
+#kd-prf null
+#kd-prf aes-ctr
+#kd-prf aes-ctr-128
+#kd-prf aes-ctr-192
+#kd-prf aes-ctr-256
+
+## local ip address to bind to (for tunnel data)
+## (if you run an anycast cluster this has to be the anycast ip address)
+#interface <ip-address>
+
+## local port to bind to (for tunnel data)
+## make sure to use a different port for every server and client!
+port 4444
+
## Device name
#dev anytun0
diff --git a/etc/anytun/client2/config b/etc/anytun/client2/config
index 41da4d7..7f120ed 100644
--- a/etc/anytun/client2/config
+++ b/etc/anytun/client2/config
@@ -25,16 +25,9 @@ auth-algo sha1
## this should be al least 30 characters
passphrase Creating_VPN_Tunnels_With_Anytun_Is_Easy
-## local ip address to bind to (for tunnel data)
-## (if you run an anycast cluster this has to be the anycast ip address)
-#interface <ip-address>
-
-## local port to bind to (for tunnel data)
-## make sure to use a different port for every server and client!
-port 4444
-
-## log to syslog with a level of 3
-log syslog:3,anytun-client2,daemon
+## The remote host and port
+remote-host example.com
+remote-port 4444
#############################
## Debug options #
@@ -46,10 +39,36 @@ log syslog:3,anytun-client2,daemon
## additional log to standard output with a level of 5
#log stdout:5
+
#############################
## Expert options #
#############################
+## log to syslog with a level of 3
+log syslog:3,anytun-client2,daemon
+
+## change user and group after init
+username nobody
+groupname nogroup
+
+## chroot to /var/run/anytun
+#chroot /var/run/anytun
+
+## key derivation pseudo random function
+#kd-prf null
+#kd-prf aes-ctr
+#kd-prf aes-ctr-128
+#kd-prf aes-ctr-192
+#kd-prf aes-ctr-256
+
+## local ip address to bind to (for tunnel data)
+## (if you run an anycast cluster this has to be the anycast ip address)
+#interface <ip-address>
+
+## local port to bind to (for tunnel data)
+## make sure to use a different port for every server and client!
+port 4444
+
## Device name
#dev anytun0
diff --git a/etc/anytun/client3/config b/etc/anytun/client3/config
index 2a97caa..acb82a3 100644
--- a/etc/anytun/client3/config
+++ b/etc/anytun/client3/config
@@ -25,16 +25,9 @@ auth-algo sha1
## this should be al least 30 characters
passphrase Creating_VPN_Tunnels_With_Anytun_Is_Easy
-## local ip address to bind to (for tunnel data)
-## (if you run an anycast cluster this has to be the anycast ip address)
-#interface <ip-address>
-
-## local port to bind to (for tunnel data)
-## make sure to use a different port for every server and client!
-port 4444
-
-## log to syslog with a level of 3
-log syslog:3,anytun-client3,daemon
+## The remote host and port
+remote-host example.com
+remote-port 4444
#############################
## Debug options #
@@ -46,10 +39,36 @@ log syslog:3,anytun-client3,daemon
## additional log to standard output with a level of 5
#log stdout:5
+
#############################
## Expert options #
#############################
+## log to syslog with a level of 3
+log syslog:3,anytun-client3,daemon
+
+## change user and group after init
+username nobody
+groupname nogroup
+
+## chroot to /var/run/anytun
+#chroot /var/run/anytun
+
+## key derivation pseudo random function
+#kd-prf null
+#kd-prf aes-ctr
+#kd-prf aes-ctr-128
+#kd-prf aes-ctr-192
+#kd-prf aes-ctr-256
+
+## local ip address to bind to (for tunnel data)
+## (if you run an anycast cluster this has to be the anycast ip address)
+#interface <ip-address>
+
+## local port to bind to (for tunnel data)
+## make sure to use a different port for every server and client!
+port 4444
+
## Device name
#dev anytun0
diff --git a/etc/anytun/server/config b/etc/anytun/server/config
index 358cdbe..1fa4621 100644
--- a/etc/anytun/server/config
+++ b/etc/anytun/server/config
@@ -33,9 +33,6 @@ auth-algo sha1
## make sure to use a different port for every server and client!
port 4444
-## log to syslog with a level of 3
-log syslog:3,anytun-server,daemon
-
#############################
## Debug options #
#############################
@@ -51,6 +48,23 @@ log syslog:3,anytun-server,daemon
## Expert options #
#############################
+## log to syslog with a level of 3
+log syslog:3,anytun-server,daemon
+
+## change user and group after init
+username nobody
+groupname nogroup
+
+## chroot to /var/run/anytun
+#chroot /var/run/anytun
+
+## key derivation pseudo random function
+#kd-prf null
+#kd-prf aes-ctr
+#kd-prf aes-ctr-128
+#kd-prf aes-ctr-192
+#kd-prf aes-ctr-256
+
## Device name
#dev anytun0