summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openwrt/kamikaze/uanytun/files/uanytun-nocrypt.config36
-rw-r--r--openwrt/kamikaze/uanytun/files/uanytun.config50
2 files changed, 83 insertions, 3 deletions
diff --git a/openwrt/kamikaze/uanytun/files/uanytun-nocrypt.config b/openwrt/kamikaze/uanytun/files/uanytun-nocrypt.config
index 5cefd50..9792d1f 100644
--- a/openwrt/kamikaze/uanytun/files/uanytun-nocrypt.config
+++ b/openwrt/kamikaze/uanytun/files/uanytun-nocrypt.config
@@ -19,6 +19,8 @@ config "client1"
option window_size 0
option mux 1
+ option log 'syslog:3,anytun-client1,daemon'
+
config "client2"
option disabled 1
@@ -34,6 +36,8 @@ config "client2"
option window_size 0
option mux 2
+ option log 'syslog:3,anytun-client2,daemon'
+
config "client3"
option disabled 1
@@ -49,4 +53,36 @@ config "client3"
option window_size 0
option mux 3
+ option log 'syslog:3,anytun-client3,daemon'
+
+
+config "p2p-a"
+ option disabled 1
+ option username 'nobody'
+ option groupname 'nogroup'
+
+ option type 'tun'
+ option ifconfig '192.168.223.1/24'
+
+ option remote_host 'p2p-b.example.com'
+ option remote_port '4444'
+
+ option window_size 0
+
+ option log 'syslog:3,anytun-p2p-a,daemon'
+
+
+config "p2p-b"
+ option disabled 1
+ option username 'nobody'
+ option groupname 'nogroup'
+
+ option type 'tun'
+ option ifconfig '192.168.223.2/24'
+
+ option remote_host 'p2p-a.example.com'
+ option remote_port '4444'
+
+ option window_size 0
+ option log 'syslog:3,anytun-p2p-b,daemon'
diff --git a/openwrt/kamikaze/uanytun/files/uanytun.config b/openwrt/kamikaze/uanytun/files/uanytun.config
index 9cfe579..423e7a3 100644
--- a/openwrt/kamikaze/uanytun/files/uanytun.config
+++ b/openwrt/kamikaze/uanytun/files/uanytun.config
@@ -35,7 +35,9 @@ config "client1"
# option ld_kdr '0'
# option key '0123456789ABCDEF0123456789ABCDEF'
# option salt '0123456789ABCD0123456789ABCD'
- option passphrase 'hello-world-one'
+ option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy'
+
+ option log 'syslog:3,anytun-client1,daemon'
config "client2"
@@ -53,7 +55,9 @@ config "client2"
option window_size 0
option mux 2
- option passphrase 'hello-world-two'
+ option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy'
+
+ option log 'syslog:3,anytun-client2,daemon'
config "client3"
@@ -71,4 +75,44 @@ config "client3"
option window_size 0
option mux 3
- option passphrase 'hello-world-three'
+ option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy'
+
+ option log 'syslog:3,anytun-client3,daemon'
+
+
+config "p2p-a"
+ option disabled 1
+ option username 'nobody'
+ option groupname 'nogroup'
+
+ option cipher 'aes-ctr'
+ option auth_algo 'sha1'
+ option type 'tun'
+ option ifconfig '192.168.223.1/24'
+
+ option remote_host 'p2p-b.example.com'
+ option remote_port '4444'
+
+ option window_size 0
+ option passphrase 'Creating_P2P_VPN_Tunnels_With_Anytun_Is_Easy'
+
+ option log 'syslog:3,anytun-p2p-a,daemon'
+
+
+config "p2p-b"
+ option disabled 1
+ option username 'nobody'
+ option groupname 'nogroup'
+
+ option cipher 'aes-ctr'
+ option auth_algo 'sha1'
+ option type 'tun'
+ option ifconfig '192.168.223.2/24'
+
+ option remote_host 'p2p-a.example.com'
+ option remote_port '4444'
+
+ option window_size 0
+ option passphrase 'Creating_P2P_VPN_Tunnels_With_Anytun_Is_Easy'
+
+ option log 'syslog:3,anytun-p2p-b,daemon'