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

    Firewall blocking everything but doesn't show up in the logs

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 3 Posters 758 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.
    • P
      palantir
      last edited by

      Hello,

      I have configured a WLAN on my pfsense box. The LAN does work, I have it connected right now and can confirm that this works. However, the WLAN doesn't work no matter what I do, even though I am using the exact same configuration I used with the LAN.

      I have a test device connected to WLAN at 192.168.4.7. I assigned it a static IP through the DNS service. The subnet for WLAN is 192.168.4.1. I enabled logging for the firewall rule on WLAN. I can see in the system logs lots of pass entries for 192.168.4.7 as the "Source IP address" and they are all pass. But there is nothing returned for filtering 192.168.4.7 as "Destination IP address" which seems to indicate that somehow traffic is only being allowed one direction.

      My firewall rule is configured the following way:

      Source: WLAN net
      Destination: any
      
      Log packets that are handled by this rule: Enabled
      
      Advanced Options:
      Gateway: OVPNC_VPNV4 (...) 
      

      The Gateway here is a VPN I use for all traffic outside the firewall. I have this same setting on my LAN interface (which is working) so I do not believe the problem is the VPN.

      Any ideas what to look at here to debug this issue? I am confused as to why I have traffic only "flowing" in one direction on the WLAN.

      1 Reply Last reply Reply Quote 0
      • D
        dma_pf
        last edited by

        The first thing that pops into my mind is whether or not you remembered to create an Outbound NAT rule for the WLAN to OVPNC_VPNV4 Interface? Without that NAT rule your firewall rule will not work.

        Check your Outbound NAT rules. You should already have a LAN to OVPNC_VPNV4 rule. Just copy the rule and swap the 192.168.4.1 network for your LAN Network.

        P 1 Reply Last reply Reply Quote 1
        • P
          palantir @dma_pf
          last edited by

          @dma_pf

          That did the trick! Thank you so much, I would have burned so many hours on that problem. I am still new to pfsense but I am enjoying it so far!

          D johnpozJ 2 Replies Last reply Reply Quote 0
          • D
            dma_pf @palantir
            last edited by

            @palantir said in Firewall blocking everything but doesn't show up in the logs:

            I would have burned so many hours on that problem.

            Glad I could help. I am one of those guys that did burn some hours tracking your issue down years ago!

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @palantir
              last edited by johnpoz

              @palantir said in Firewall blocking everything but doesn't show up in the logs:

              I would have burned so many hours on that problem

              Why? It should of been like 2 minutes to track that down.. does the traffic hit pfsense lan side interface. Does it leave the interface you said to leave on..

              Simple packet captures would of shown you were not natting it in like 10 seconds worth of traffic..

              That is not unique to pfsense - that is basic 101 routing/firewall troubleshooting.. Follow the traffic flow.

              Another simple trick that would of shown you your issue right away would be simple look in the state table for your client and your destination you were using for test.. And you would seen not natted there as well.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              D 1 Reply Last reply Reply Quote 0
              • D
                dma_pf @johnpoz
                last edited by

                @johnpoz said in Firewall blocking everything but doesn't show up in the logs:

                Why?

                Well for me, when I spent hours chasing my tail on this issue I was brand new to pFsense and my only experience to networking was plugging in a consumer router. No networking 101 for me ever, so it was like learning a foreign language.

                I'm far, far from an expert now. But and am miles ahead from where I was. It took a lot of getting my hands dirty in pfsense, tracking down issues in this forum and getting a lot of help from you and a lot of other folks (thanks!). Now I'm glad I have enough skill and confidence to pay it forward.

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