From 9a2b68173f33df376bbdae82b6e9d90cbf6a1add Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Fri, 11 Apr 2008 14:38:10 +0000 Subject: added basic config files --- etc/anytun/server/conf.d/client1 | 10 +++++++++ etc/anytun/server/conf.d/client2 | 10 +++++++++ etc/anytun/server/conf.d/client3 | 10 +++++++++ etc/anytun/server/config | 47 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 etc/anytun/server/conf.d/client1 create mode 100644 etc/anytun/server/conf.d/client2 create mode 100644 etc/anytun/server/conf.d/client3 (limited to 'etc') 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 +## 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 +## 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 +## 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 +## local anycast(data) port to bind to +port 4444 +## local unicast(sync) ip address to bind to +# sync-interface +## local unicast(sync) port to bind to +#sync-port +## remote hosts to sync with +#sync-hosts :[,:[...]] +## 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 + +### Connection Parameters (for clients without config server) +## remote host +#remote-host +## remote port +#remote-port +##seqence number window size +## 0 turns off replay protection (for manualk keying) +#window-size 0 +## the multiplex id to use +#mux +## master key to use for encryption +#key +## master salt to use for encryption +#salt -- cgit v1.2.3