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

    Matching LAN Source IP and WAN queue

    Traffic Shaping
    3
    4
    532
    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.
    • ZedfulZ
      Zedful
      last edited by

      Let's say I want to direct all the traffic from specific LAN IP to be in qMyPC.
      I've tried all the possibilities I could think of with no success getting the upload traffic in WAN qMyPC. The traffic goes to the qDefault instead.
      It only matches download traffic in LAN qMyPC.

      Actually is it even possible?
      From my understanding
      If we are matching by ports, that goes well in both WAN & LAN interfaces and everything goes to the right queues.
      But matching using LAN IP as a source in WAN interface will not work because LAN IP isn't really a thing from WAN perspective.
      Like this in States page, it shows you the (NAT source) but it's not treated as a true source otherwise would have worked in matching rules.
      States.jpg

      Similar topic here

      Any idea?

      B 1 Reply Last reply Reply Quote 0
      • B
        bobbenheim @Zedful
        last edited by

        @Zedful
        You can make a LAN rule which tags traffic from 192.168.2.3, and then use that tag in your match rule to get the traffic in the proper queue. Don't know if there is a proper way to do it, but it should work :)

        ZedfulZ 1 Reply Last reply Reply Quote 0
        • ZedfulZ
          Zedful @bobbenheim
          last edited by

          @bobbenheim Thank you very much.

          Created new LAN rule
          Protocol:Any Source:192.168.2.3, Tag:MyPC, Queue:qMyPC.

          Created new Floating Rule:
          Protocol:Any, Tagged:MyPC, Queue:qMyPC.

          Note: Without assigning queue in LAN rule, it will only matches WAN queue and LAN queue goes to the default, which is the opposite of my issue.

          Now the traffic goes to the proper queues.

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

            That is one way to do it.

            You could also set the queue on a floating match rule on LAN in. Or a simple pass rule on LAN for just that source host that is higher in the rule set than the pass rule for everyone else.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.