Navigation

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

    How to Limit Any except these Ports?

    Traffic Shaping
    2
    3
    745
    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
      dpa last edited by

      Option to invert the sense of the match is only for IP Addresses. How to do it with Ports?
      Given I already have limiters in place.

      Rule statement:
      "Limit anything from this IP to 3mb/5mb except ports <port alias="">"</port>

      1 Reply Last reply Reply Quote 0
      • N
        Nullity last edited by

        The order of the firewall rules is important. On a regular interface, it is first-matched wins. Floating rules are last-matched wins (I think).

        So, put the exception rule at the top, if it is a regular interface.
        Then follow that rule with your limited-bandwidth catch-all.

        Traffic will be caught by the first rule if they are within the port alias.
        Otherwise they miss that rule and fall into a catch-all (all ports).

        Please correct any obvious misinformation in my posts.
        -Not a professional; an arrogant ignoramous.

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

          Thanks man, that's what I've been doing, I am just hoping to get a one liner rule for this. My rule list are becoming convoluted..

          1 Reply Last reply Reply Quote 0
          • First post
            Last post