Navigation

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

    Floating OUT rule

    Firewalling
    3
    6
    116
    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
      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

      Gertjan Derelict 2 Replies Last reply Reply Quote 0
      • Gertjan
        Gertjan @turrican64 last edited by

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

        1 Reply Last reply Reply Quote 0
        • Derelict
          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.

          T 1 Reply Last reply Reply Quote 0
          • T
            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!

            Derelict 1 Reply Last reply Reply Quote 0
            • Derelict
              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.

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

                It works.
                Thank you!

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

                Products

                • Platform Overview
                • TNSR
                • pfSense
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy