Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Set all outbound traffic to DSCP = 0

    Scheduled Pinned Locked Moved Traffic Shaping
    5 Posts 3 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      djzort
      last edited by

      Without going in to exhaustive details, the Australian NBN is DiffServ (DSCP if you like) sensitive, so "NBN compliant" routers/modems are required to (re)set DSCP = 0… at least for Telstra services (the largest ISP here in Aus) - see also http://www.telstra.com.au/business-enterprise/download/document/nbn-byo--router-guide.pdf

      After reading the pfsense wiki, quite a bit of googling freebsd and pf generally - it seems that setting dscp = 0 should be possible - however i am unable to ascertain how.

      In linux, the mangle functions of iptables make this straight forward. A 1:1 equivalent function doesnt seem to exist in BSD (please prove me wrong)

      Can someone suggest how to ensure all outbound traffic on an interface is set DSCP.0... also NBN just drops traffic that exceeds your Mbit/s upload limit so shaping is needed anyway - so applying both in one hit would be nice.

      Thoughts?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Unfortunately that is not possible in pfSense. We can only match, not set, DSCP at this time.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D
          djzort
          last edited by

          perhaps the very old ng_mangle could be resuscitated ?

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Couldn't you coerce an outside switch between the WAN port and the modem to do that?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • D
              djzort
              last edited by

              Curiously, pfsense can do rather basic marking of 802.1p (layer2) - but not diffserv in layer 3.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.