≡ Menu

FreeBSD ipfw Traffic Shaping Firewall Script

{ 4 comments… add one }
  • Nick Hibma September 19, 2013, 7:20 am

    Could someone change “don’t” to “do not” so the syntax highlighting isn’t confused?

    Thanks for the nice example for the queueing, and high to separate statements into functional blocks.

    • nixcraft September 27, 2013, 9:11 pm

      Heh.. done. Hope this helps. Appreciate your post!

  • ace March 5, 2012, 10:57 am

    Thanks !

  • Francisco November 13, 2009, 1:47 pm

    I could not see what will make packets enter on rule 310 or 330 ?
    Both seems to be equal ??

    #General traffic, assign higher priority for home users
    $fwcmd add 310 queue 11 ip from $internal to any out via ${oif}

    #General traffic low priority
    $fwcmd add 330 queue 21 ip from $internal to any out via ${oif}

    And… could you provide the “rc.conf” file for this example too ?


Security: Are you a robot or human?

Leave a Comment