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

    Why is this LAN traffic being blocked?

    Scheduled Pinned Locked Moved Firewalling
    12 Posts 4 Posters 917 Views 4 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.
    • B Offline
      burnbrighter
      last edited by burnbrighter

      I am trying to discover why local host to host traffic (esp. SSH) is being blocked. Initial connection works, but then the connection freezes and the traffic shows up as blocked in the logs. Logs and Rules are embedded.
      Log and Rules
      Thanks in advance for any help.

      NOTE: embedding doesn't seem to work for me.

      Logs and rules:
      https://imgur.com/a/SoPEPsc

      1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann
        last edited by

        Are the source and destination device on the same subnet?
        If so, I'd ask why the traffic passes pfSense?

        1 Reply Last reply Reply Quote 0
        • B Offline
          burnbrighter
          last edited by burnbrighter

          Yes, they are on the same subnet. I should already be passing all traffic in the 192.168.1.0/24 subnet without restrictions (desired behavior).
          Here are the some associated filter log entries for the blocks (and one pass):
          Aug 16 12:18:37 hades filterlog: 9,16777216,,1000000103,igb0,match,block,in,4,0x10,,64,0,0,DF,6,tcp,232,192.168.1.20,192.168.1.172,62774,22,180,PA,2663790651:2663790831,207159216,4096,,nop;nop;TS
          Aug 16 12:18:39 hades filterlog: 9,16777216,,1000000103,igb0,match,block,in,4,0x10,,64,0,0,DF,6,tcp,232,192.168.1.20,192.168.1.172,62774,22,180,PA,2663790651:2663790831,207159216,4096,,nop;nop;TS
          Aug 16 12:18:42 hades filterlog: 9,16777216,,1000000103,igb0,match,block,in,4,0x10,,64,0,0,DF,6,tcp,232,192.168.1.20,192.168.1.172,62774,22,180,PA,2663790651:2663790831,207159216,4096,,nop;nop;TS
          Aug 16 12:18:49 hades filterlog: 9,16777216,,1000000103,igb0,match,block,in,4,0x10,,64,0,0,DF,6,tcp,232,192.168.1.20,192.168.1.172,62774,22,180,PA,2663790651:2663790831,207159216,4096,,nop;nop;TS
          Aug 16 12:18:56 hades filterlog: 9,16777216,,1000000103,igb0,match,block,in,4,0x10,,64,0,0,DF,6,tcp,232,192.168.1.20,192.168.1.172,62774,22,180,PA,2663790651:2663790831,207159216,4096,,nop;nop;TS
          Aug 16 12:19:00 hades filterlog: 89,16777216,,1534396921,igb0,match,pass,in,4,0x0,,64,0,0,DF,6,tcp,64,192.168.1.20,192.168.1.172,49800,22,0,S,2178878714,,65535,,mss;nop;wscale;nop;nop;TS;sackOK;eol
          Aug 16 12:19:02 hades filterlog: 9,16777216,,1000000103,igb0,match,block,in,4,0x10,,64,0,0,DF,6,tcp,232,192.168.1.20,192.168.1.172,62774,22,180,PA,2663790651:2663790831,207159216,4096,,nop;nop;TS
          Aug 16 12:19:09 hades filterlog: 9,16777216,,1000000103,igb0,match,block,in,4,0x10,,64,0,0,DF,6,tcp,232,192.168.1.20,192.168.1.172,62774,22,180,PA,2663790651:2663790831,207159216,4096,,nop;nop;TS

          1 Reply Last reply Reply Quote 0
          • KOMK Offline
            KOM
            last edited by

            Intra-network traffic doesn't hit the firewall at all. Out of state traffic is blocked since the state was already killed.

            https://doc.pfsense.org/index.php/Why_do_my_logs_show_%22blocked%22_for_traffic_from_a_legitimate_connection

            1 Reply Last reply Reply Quote 0
            • V Offline
              viragomann
              last edited by

              But why is the traffic directed to pfSense, when the source and destination is in the same network segment?

              Have you bridged interfaces, so the the source is on one interface and the dest on the other one?
              Or miss-configured the network in on device.
              Or are there multiple ways the traffic can go between source and dest?

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

                Unless your running a bridge and you have these devices on different sides of the bridge - pfsense should never see this traffic unless you have mask on these devices higher than /24 so they are on different networks?

                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

                1 Reply Last reply Reply Quote 0
                • B Offline
                  burnbrighter
                  last edited by

                  The 192.168.1.172 host also has an interface on the WAN (independent of pfsense) and has a different default gateway (other than the lan), like the rest of the . The host is actually freepbx.

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

                    So you have a "mess" Why don't you draw this network up so we can figure out how to fix your asymmetrical mess.

                    Multihoming devices, is almost never a good idea and leads to complications unless you are sure of traffic flow. For example if devices uses say interface 1 to talk to B, but B answers back to interface 2 on their common network.

                    I would really suggest you rethink the need for multihoming said device.

                    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

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      burnbrighter
                      last edited by

                      Will definitely do so. At the office. Look for it in a few hours. Thanks

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        burnbrighter
                        last edited by

                        Ok, here you go.

                        0_1534460826528_Screen Shot 2018-08-16 at 4.05.24 PM.png

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

                          Nice drawing thanks!

                          And why can this freepbx just not be behind your pfsense on the 192.168.1.0/24 with just the 1 192.168.1.172 address?

                          2 second google finds what looks to be very simple instructions for putting it behind pfsense
                          https://www.outsideopen.com/pfsense-asterisk/

                          Clearly your not worried about it being on your lan since you have it directly connected now. But I would prob put it on a different vlan say 192.168.2/24.. Then just create what firewall rules you need between lan and this new "dmz" lets call it for your stuff to work, there is no nat between lan and dmz..

                          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

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            burnbrighter
                            last edited by

                            I've decided to change my deployment model to be behind the NAT with 1:1 NAT. So far, testing is proving successful. Would be great to make the dual-homed model work, but I'm afraid it may be more trouble than it's worth.

                            Thank you for your attention on this.

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