summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/anytun/server/conf.d/client110
-rw-r--r--etc/anytun/server/conf.d/client210
-rw-r--r--etc/anytun/server/conf.d/client310
-rw-r--r--etc/anytun/server/config47
4 files changed, 77 insertions, 0 deletions
diff --git a/etc/anytun/server/conf.d/client1 b/etc/anytun/server/conf.d/client1
new file mode 100644
index 0000000..abebcdb
--- /dev/null
+++ b/etc/anytun/server/conf.d/client1
@@ -0,0 +1,10 @@
+prefix 192.168.12.1
+prefix-len 32
+window-size 0
+mux 1
+key 0123456789ABCDEF0123456789ABCDEF
+salt 0123456789AB0123456789AB
+## remote host (autodetect if skiped)
+#remote-host <hostname|ip>
+## remote host (autodetect if skiped)
+#remote-port 4444
diff --git a/etc/anytun/server/conf.d/client2 b/etc/anytun/server/conf.d/client2
new file mode 100644
index 0000000..f6b2e2a
--- /dev/null
+++ b/etc/anytun/server/conf.d/client2
@@ -0,0 +1,10 @@
+prefix 192.168.12.2
+prefix-len 32
+window-size 0
+mux 2
+key 0123456789ABCDEF0123456789ABCDEF
+salt 0123456789AB0123456789AB
+## remote host (autodetect if skiped)
+#remote-host <hostname|ip>
+## remote host (autodetect if skiped)
+#remote-port 4444
diff --git a/etc/anytun/server/conf.d/client3 b/etc/anytun/server/conf.d/client3
new file mode 100644
index 0000000..aeb437a
--- /dev/null
+++ b/etc/anytun/server/conf.d/client3
@@ -0,0 +1,10 @@
+prefix 192.168.12.3
+prefix-len 32
+window-size 0
+mux 3
+key 0123456789ABCDEF0123456789ABCDEF
+salt 0123456789AB0123456789AB
+## remote host (autodetect if skiped)
+#remote-host <hostname|ip>
+## remote host (autodetect if skiped)
+#remote-port 4444
diff --git a/etc/anytun/server/config b/etc/anytun/server/config
index e69de29..fe5f05b 100644
--- a/etc/anytun/server/config
+++ b/etc/anytun/server/config
@@ -0,0 +1,47 @@
+## Global Parameters
+## don't run in background
+#nodaemonize
+## the sender id to use (has to be unique for multible anycast servers)
+sender-id 1
+## local anycast ip address to bind to
+#interface <ip-address>
+## local anycast(data) port to bind to
+port 4444
+## local unicast(sync) ip address to bind to
+# sync-interface <ip-address>
+## local unicast(sync) port to bind to
+#sync-port <port>
+## remote hosts to sync with
+#sync-hosts <hostname|ip>:<port>[,<hostname|ip>:<port>[...]]
+## Device name
+dev anytun0
+# device type tun = ip/ipv6, tap = ethernet
+type tun
+## payload encryption algorithm
+cipher aes-ctr
+# cipher null
+## key derivation pseudo random function
+kd-prf aes-ctr
+# kd-prf null
+## message authentication algorithm
+auth-algo sha1
+# auth-algo null
+## Automaticaly configure the interface an set a route
+## 1st argument the local address for the tun/tap device
+## 2nd argument is either the remote address(tun) or netmask(tap)
+#ifconfig <local> <remote|netmask>
+
+### Connection Parameters (for clients without config server)
+## remote host
+#remote-host <hostname|ip>
+## remote port
+#remote-port <port>
+##seqence number window size
+## 0 turns off replay protection (for manualk keying)
+#window-size 0
+## the multiplex id to use
+#mux <mux-id>
+## master key to use for encryption
+#key <master key>
+## master salt to use for encryption
+#salt <master salt>