mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
import package uanytun
Signed-off-by: Christian Pointner <equinox@spreadspace.org>
This commit is contained in:
@@ -0,0 +1,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'
|
||||
Reference in New Issue
Block a user