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

    Rule to assign all traffic based on ip address?

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 2 Posters 755 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.
    • L
      lovingHDTV
      last edited by

      OK,
      I thought this one would be easy for me.  I want to send all the traffic from 192.168.1.107 that goes through the WAN, to qCrashplan.

      So I created qCrashplan, basically a copy of qP2P, created a floating rule:

      Action: Match
      Quick: check
      Interface: WAN
      Direction: any
      TCP/IP: IPV4
      Protocol: TCP
      Source: single host: 192.168.1.107
      Advanced:
      Ackqueue/Queue: <none>/qCrashplan

      save
      apply

      Look at Status->queues, not traffick, it is still all going to normal.

      Reset firewall state: same thing.

      All of it is still going into the qDefault.  This makes me think that I didn't specify the traffic correctly?

      What did I do wrong?</none>

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

        Your rule is on WAN – NAT happens before firewall rules, including outbound NAT. The private IP you referenced is not visible in outbound WAN rules since it has been translated by the time the rule is processed.

        To match that you would need to do so inbound on the LAN interface and not outbound on WAN.

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