OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of djGrrr »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - djGrrr

Pages: [1]
1
15.7 Legacy Series / Feature Request: scrub pf rule customization
« on: September 23, 2015, 06:54:16 pm »
Hi, I think it would be a great feature to be able to customize the "scrub" pf rules in OPNsense; Some ISPs (notably Google Fiber) require that the Type of Service field of packets be set, in order to get full upload speed.
Google Fiber limits your upload speed to 10mbit without the ToS field being set (vs 1gbit when it is set). I think it is a bit silly to need to have a managed switch, just to set the ToS for packets, when OPNsense should be easily capable of doing so.

Perhaps this only needs some quick check-box option on the interface settings specifically for Google Fiber? (at least for now), but I think (at least further down the line) something a bit more robust would make sense.

These are the PF scrub rules required to set the ToS field correctly for Google Fiber:

scrub out on $WAN proto udp from port 67 to port 68 set-tos 0x40 # set DHCP packets to class 2
scrub out on $WAN proto igmp set-tos 0xC0 # set IGMP packets to class 6
scrub out on $WAN set-tos 0x60 # set all other packets to class 3

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2