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.

42 lines
995 B

  1. package trafficshaper
  2. config globals 'globals'
  3. option mark_mask '0xFF'
  4. config wan 'wan'
  5. option downlink '20000'
  6. option uplink '20000'
  7. config wan 'wanb'
  8. option downlink '15000'
  9. option uplink '5000'
  10. config class 'corp'
  11. list network '192.168.1.0/24'
  12. list network 'fdc8:1234:1234:1::/64'
  13. option reserved_downlink '50%'
  14. option reserved_uplink '35%'
  15. option allowed_downlink '100%'
  16. option allowed_uplink '100%'
  17. config class 'vpn'
  18. list network '192.168.2.0/24'
  19. list network 'fdc8:1234:1234:2::/64'
  20. option reserved_downlink '25%'
  21. option reserved_uplink '50%'
  22. option allowed_downlink '100%'
  23. option allowed_uplink '100%'
  24. config class 'guest'
  25. list network '192.168.3.0/24'
  26. list network 'fdc8:1234:1234:3::/64'
  27. option reserved_downlink '25%'
  28. option reserved_uplink '15%'
  29. option allowed_downlink '25%'
  30. option allowed_uplink '15%'
  31. config class 'default'
  32. option reserved_downlink '1000'
  33. option reserved_uplink '1000'
  34. option allowed_downlink '100%'
  35. option allowed_uplink '100%'