From da0f5b0100db613798f329c13ac72e3758563efc Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 11 Apr 2008 19:31:05 +0000 Subject: client1 default config without crypto --- etc/anytun/client1/config | 18 +++++++++--------- etc/anytun/client1/post-up.sh | 7 +++++++ 2 files changed, 16 insertions(+), 9 deletions(-) (limited to 'etc') diff --git a/etc/anytun/client1/config b/etc/anytun/client1/config index 91dab8a..7841c8c 100644 --- a/etc/anytun/client1/config +++ b/etc/anytun/client1/config @@ -18,14 +18,14 @@ sender-id 1 # device type tun = ip/ipv6, tap = ethernet type tun ## payload encryption algorithm -cipher aes-ctr -# cipher null +#cipher aes-ctr +cipher null ## key derivation pseudo random function -kd-prf aes-ctr -# kd-prf null +#kd-prf aes-ctr +kd-prf null ## message authentication algorithm -auth-algo sha1 -# auth-algo null +#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) @@ -35,7 +35,7 @@ auth-algo sha1 ### Connection Parameters (for clients without config server) ## remote host -remote-host 127.0.0.1 +remote-host 192.168.0.197 ## remote port remote-port 4444 ##seqence number window size @@ -44,6 +44,6 @@ window-size 0 ## the multiplex id to use mux 1 ## master key to use for encryption -key 0123456789ABCDEF0123456789ABCDEF +#key 0123456789ABCDEF0123456789ABCDEF ## master salt to use for encryption -salt 0123456789ABCD0123456789ABCD +#salt 0123456789ABCD0123456789ABCD diff --git a/etc/anytun/client1/post-up.sh b/etc/anytun/client1/post-up.sh index e69de29..bf01387 100644 --- a/etc/anytun/client1/post-up.sh +++ b/etc/anytun/client1/post-up.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +ip link set dev $1 up +ip link set dev $1 mtu 1400 +ip addr add dev $1 192.168.123.1/24 + +exit 0 -- cgit v1.2.3