uanytun-nocrypt.config 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. config "client1"
  2. option disabled 0
  3. option username 'nobody'
  4. option groupname 'nogroup'
  5. # option chroot "/var/run/uanytun"
  6. # option interface '<ip-address>'
  7. # option port '4444'
  8. # option sender_id '1'
  9. # option dev 'anytun0'
  10. option type 'tun'
  11. option ifconfig '192.168.123.1/24'
  12. # option post-up-script '/etc/uanytun/client1-post-up.sh'
  13. option remote_host 'example.com'
  14. option remote_port '4444'
  15. option window_size 0
  16. option mux 1
  17. option log 'syslog:3,anytun-client1,daemon'
  18. config "client2"
  19. option disabled 1
  20. option username 'nobody'
  21. option groupname 'nogroup'
  22. option type 'tun'
  23. option ifconfig '192.168.123.2/24'
  24. option remote_host 'example.com'
  25. option remote_port '4444'
  26. option window_size 0
  27. option mux 2
  28. option log 'syslog:3,anytun-client2,daemon'
  29. config "client3"
  30. option disabled 1
  31. option username 'nobody'
  32. option groupname 'nogroup'
  33. option type 'tun'
  34. option ifconfig '192.168.123.3/24'
  35. option remote_host 'example.com'
  36. option remote_port '4444'
  37. option window_size 0
  38. option mux 3
  39. option log 'syslog:3,anytun-client3,daemon'
  40. config "p2p-a"
  41. option disabled 1
  42. option username 'nobody'
  43. option groupname 'nogroup'
  44. option type 'tun'
  45. option ifconfig '192.168.223.1/24'
  46. option remote_host 'p2p-b.example.com'
  47. option remote_port '4444'
  48. option window_size 0
  49. option log 'syslog:3,anytun-p2p-a,daemon'
  50. config "p2p-b"
  51. option disabled 1
  52. option username 'nobody'
  53. option groupname 'nogroup'
  54. option type 'tun'
  55. option ifconfig '192.168.223.2/24'
  56. option remote_host 'p2p-a.example.com'
  57. option remote_port '4444'
  58. option window_size 0
  59. option log 'syslog:3,anytun-p2p-b,daemon'