summaryrefslogtreecommitdiff
path: root/openwrt/kamikaze/uanytun/files/uanytun-nocrypt.config
blob: 9792d1f009b12e580ca73ab0474fe5b38a97802f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
config "client1"
  option disabled 0
  option username 'nobody'
  option groupname 'nogroup'
#  option chroot "/var/run/uanytun"

#  option interface '<ip-address>'
#  option port '4444'
#  option sender_id '1'

#  option dev 'anytun0'
  option type 'tun'
  option ifconfig '192.168.123.1/24'
#  option post-up-script '/etc/uanytun/client1-post-up.sh'

  option remote_host 'example.com'
  option remote_port '4444'

  option window_size 0
  option mux 1

  option log 'syslog:3,anytun-client1,daemon'


config "client2"
  option disabled 1
  option username 'nobody'
  option groupname 'nogroup'

  option type 'tun'
  option ifconfig '192.168.123.2/24'

  option remote_host 'example.com'
  option remote_port '4444'

  option window_size 0
  option mux 2

  option log 'syslog:3,anytun-client2,daemon'


config "client3"
  option disabled 1
  option username 'nobody'
  option groupname 'nogroup'

  option type 'tun'
  option ifconfig '192.168.123.3/24'

  option remote_host 'example.com'
  option remote_port '4444'

  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'