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

    Aliases, ports, routed through specific WAN's

    Scheduled Pinned Locked Moved Traffic Shaping
    3 Posts 2 Posters 1.6k 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.
    • J
      jaredadams
      last edited by

      So I have this idea to manage my own little bit of traffic shaping.  I've found that even through the traffic shaping wizard that stopping p2p traffic is virtually impossible.  Even smart torrent clients will eventually find a different port to run on.  One that isnt blocked.

      What I want to do is create an alias for all KNOWN good ports. All the typical ports people use throughout the day.  I want to create a rule on the firewall that routes all of this traffic out the high bandwidth WAN.

      I then want to create a NOT rule on the firewall saying that all that NOT KNOWN ports go out a very slow WAN.

      Now, I can create an alias which only contains ports.  However I cannot choose that alias when specifying ports from the firewall rule.  This makes an alias based on ports useless.

      Anyone run into this also?

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

        Port aliases work fine, just remember two things

        1. Make sure in the alias that the type selector is on 'Port(s)'
        2. The port drop-down on the firewall rule should be on From (other) / To (other).

        Then the field should be hilighted in red, indicating an alias may be used. Then just start typing and it'll autocomplete.

        Also you don't need to have two aliases like that, just one. Rules are processed from the top-down, first match wins, so what you want is the same as:

        pass from lan to *:goodports, use FastWAN
        pass from lan to :, use SlowWAN

        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
        • J
          jaredadams
          last edited by

          You are correct sir.  thank you very much!

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