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

About how Firewall rulles are applied

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 1.3k 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.
  • T
    techilog
    last edited by Dec 17, 2009, 2:22 PM

    Hi!
    Here is situation:

    p f S e n s e
    MACHINE–----LAN------WAN------SERVER
    packet -> -> check? -> check?-> ->

    I have pfSense witch can route packets between LAN and WAN
    When I send a pocket from machine connected to LAN to a server connected somewhere in the Internet (to WAN), on witch port pocket filter do the filtering work?
    I wonder, if firewall rulles are doublechecked on the LAN port at first, and at the WAN port at second?
    In another words,
    Firewall rulles are applied on a port, on witch packets come in(LAN), or from witch port they come out(WAN), or on both of this ports?

    I am really confused about it.
    I would really appriciate the description on how it really works.
    Thank You a Lot

    1 Reply Last reply Reply Quote 0
    • G
      GruensFroeschli
      last edited by Dec 17, 2009, 2:46 PM

      @http://forum.pfsense.org/index.php/topic:

      Rules are processed from top to down.
      If a rule catches the rest of the rules is no longer considered.
      Per default a "block all" rule is always in place (invisible below your own rules).

      Traffic is filtered on the Interface on which traffic comes in.
      So traffic coming in on the LAN-Interface will only be processed by the rules you define on the LAN tab.

      We do what we must, because we can.

      Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

      1 Reply Last reply Reply Quote 0
      • T
        techilog
        last edited by Dec 17, 2009, 2:50 PM

        Thank You!
        :D 8)

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received