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

    Floating OUT rule

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 3 Posters 646 Views 3 Watching
    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.
    • T Offline
      turrican64
      last edited by

      Hello,

      I would like to direct traffic to a queue which coming out on the lan interface. I set up the following rule but it doesn't work the traffic going to the default queue not to the one I set for this rule. I turned on logging but I can't see outgoing traffic in the log either from the LAN interface. Could you please suggest what is wrong?

      Thank you!

      986de444-9bff-4254-8fe6-5f33bf3eba7a-image.png

      GertjanG DerelictD 2 Replies Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @turrican64
        last edited by

        @turrican64
        Try this : open the advanced option and select a Gateway ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          @turrican64 how are the connections established?

          That rule will only match for connections established into another interface and establishing out to a LAN host. It will not match for any traffic going out LAN if the connection was established from a LAN host.

          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)

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            turrican64 @Derelict
            last edited by

            how are the connections established?

            Host connected to LAN established connections to the Internet via WAN interface.

            That rule will only match for connections established into another interface and establishing out to a LAN host. It will not match for any traffic going out LAN if the connection was established from a LAN host.

            In the pfsense book I found only that floating can be used for outbound and does not mention the exceptions. Is there a documentation to read to have a better understanding how does this work?

            How can I match downstream Internet packets?

            Thank you!

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

              @turrican64 Match on inbound connections from LAN outbound. That is the state that will carry the reply traffic outbound to LAN hosts.

              it's just how the states work in pf. There is no reason to document it there because the same thing will have to be documented in a million other places.

              When a connection is established there is a state created on the inbound and outbound interface in relation to how the state was initially established. Both states carry traffic in both directions until closed.

              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)

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                turrican64 @Derelict
                last edited by

                It works.
                Thank you!

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