You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

88 lines
1.6 KiB

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'