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

    Netgate SG-3100 LAN ports cannot go through LAN Gateway.

    Scheduled Pinned Locked Moved General pfSense Questions
    64 Posts 5 Posters 10.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.
    • DerelictD
      Derelict LAYER 8 Netgate
      last edited by

      Well, if you want to BLOCK traffic on from Wireless network to LAN net then BLOCK it. Don't block traffic with a pass rule.

      Add a rule above what you have that blocks traffic to destination LAN net above what you have and see if the behavior changes.

      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)

      M 1 Reply Last reply Reply Quote 0
      • M
        mmajian @Derelict
        last edited by

        @Derelict Great, thank you. I created a BLOCK rule and it's working.
        Now I am backing LAN ports can't reach LAN gateway problem. Looks like fixing problems with WirelessNetwork doesn't fix LAN net. ๐Ÿ˜ž

        DerelictD 1 Reply Last reply Reply Quote 0
        • M
          mmajian @stephenw10
          last edited by

          @stephenw10 I connect one of the Win10 computer to LAN1 port and Switch setting is here:

          aec0ce2b-b734-4276-af03-1f1a2eff37a4-image.png

          It's getting correct IP address from LAN DHCP 192.168.1.115, but is't offline
          2bcf2e02-11c1-40a7-888b-dbdf8aab579a-image.png

          I started Packet capture on LAN interface for IPv4 only.
          13107108-2369-4f78-a4be-7c3e519c7064-image.png
          Looks like LAN can receive from Win10 computer but never reply.

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

            Ok that is good info, now lets see your actual switch config.

            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

            M 1 Reply Last reply Reply Quote 0
            • M
              mmajian @johnpoz
              last edited by

              @johnpoz Sorry I am new to pfSense. What is actual switch config and how to view it? Thanks.

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

                @mmajian said in Netgate SG-3100 LAN ports cannot go through LAN Gateway.:

                @Derelict Great, thank you. I created a BLOCK rule and it's working.
                Now I am backing LAN ports can't reach LAN gateway problem. Looks like fixing problems with WirelessNetwork doesn't fix LAN net. ๐Ÿ˜ž

                Yet another victim.

                Someday people will listen.

                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)

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

                  See that tab you showing the ports - hit the vlan tab.. lets make sure nothing messed up there

                  switchports.jpg

                  That is the default settings, from one of my 3100s

                  You don't have any rules in in your floating tab do you? And for good measure lets see the routes.. under diag..

                  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

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mmajian @johnpoz
                    last edited by

                    @johnpoz Yes, my VLANs setting are same as yours. And I don't have rules in floating tab. And here is the routes:
                    fb392cfa-3674-4b88-8fe9-df6415920afd-image.png

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

                      Have you tried reloading the firewall rules? Or I take it you have tried rebooting it? ;)
                      Try changing the IP to say 192.168.2.1/24 on the lan interface?

                      Everything looks right..

                      Are you seeing any errors on the interface, in the interface status?

                      
                      LAN Interface (lan, igb0)
                      
                      Status
                          up
                      MAC Address
                          00:08:a2:0c:e6:24 - ADI Engineering
                      IPv4 Address
                          192.168.9.253
                      Subnet mask IPv4
                          255.255.255.0
                      IPv6 Link Local
                          fe80::208:a2ff:fe0c:e624%igb0
                      IPv6 Address
                          2001:470:snipped::253
                      Subnet mask IPv6
                          64
                      MTU
                          1500
                      Media
                          1000baseT <full-duplex>
                      In/out packets
                          461831409/992950006 (321.12 GiB/1.27 TiB)
                      In/out packets (pass)
                          461831409/992950006 (321.12 GiB/1.27 TiB)
                      In/out packets (block)
                          8743/0 (506 KiB/0 B)
                      In/out errors
                          0/0
                      Collisions
                          0	
                      

                      You tried a different port?

                      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

                      M 1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Looks like you have pfBlocker installed. Let's see the floating firewall rules. You maybe need to edit them to see all the info.

                        That can block and not log traffic in LAN if it;s not configured correctly.

                        Steve

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

                          He stated he has no rules on floating.

                          You didn't setup any port forward rules did you?

                          I would like to see the full output of the rules to be honest
                          https://docs.netgate.com/pfsense/en/latest/firewall/viewing-the-full-pf-ruleset.html

                          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

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mmajian @johnpoz
                            last edited by mmajian

                            @johnpoz No, zero errors on LAN interface and I did tried different ports. And I did tried change LAN IP to 192.168.10.1/24, still not working.

                            1 Reply Last reply Reply Quote 0
                            • M
                              mmajian @stephenw10
                              last edited by

                              @stephenw10 I disabled pfBlocker but no luck.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mmajian @johnpoz
                                last edited by mmajian

                                @johnpoz No port forward rules. No errors on LAN interface:
                                d4428f71-7dc0-444e-8956-73bbe32f292f-image.png
                                Here are all rules
                                a756b796-d83e-44b7-8552-0b77bf3730aa-image.png
                                35713b56-8214-41ef-8319-a72a52d07242-image.png

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

                                  @mmajian said in Netgate SG-3100 LAN ports cannot go through LAN Gateway.:

                                  Yes, my VLANs setting are same as yours.

                                  Please post them.

                                  It's not rules (though it looks like you are still using a ! LAN net rule for some inexplicable reason.)

                                  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)

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mmajian @Derelict
                                    last edited by

                                    @Derelict Sure, here is my VLAN:
                                    58454d43-a9f6-4f9f-9de1-5648feef1227-image.png
                                    Here are ports:
                                    edcd6726-bc36-48a9-8489-e1364d35ea3e-image.png
                                    And I disabled all firewall rule here:
                                    ec21994f-994c-4954-9eb8-a658f3dd7ec8-image.png
                                    I uninstalled pfBlocker and disabled OpenVPN. Then reboot the firewall but still no luck.
                                    Next thing I am going to try is reset to factory default.
                                    But if that still not working I think it might be the hardware problem.

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Disabling pf will, as it says there, disable NAT so you will be unable to connect to any public IPs from any internal interface.
                                      You should still be able to connect to LAN though...

                                      It seems unlikely to be a hardware issue since clients on LAN are still able to pull a DHCP address, traffic is able to flow both ways for that to happen.

                                      Do you see the connected LAN client in the ARP table? (Diag > ARP)

                                      Steve

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

                                        @stephenw10 said in Netgate SG-3100 LAN ports cannot go through LAN Gateway.:

                                        Do you see the connected LAN client in the ARP table? (Diag > ARP)

                                        That is a very good point... Do you maybe have anything with static arp setup?

                                        When you ping pfsense, from you pc... What does pfsense show in its arp table for this client IP.. Does the mac in the table match?

                                        where is that block ! mvneta1 inet from 192.168.1.0/24 to any coming from?

                                        Make sure you remove any ! rules...

                                        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

                                        stephenw10S M 2 Replies Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator @johnpoz
                                          last edited by

                                          @johnpoz said in Netgate SG-3100 LAN ports cannot go through LAN Gateway.:

                                          where is that block ! mvneta1 inet from 192.168.1.0/24 to any coming from?

                                          That's a system default rule. It blocks traffic from an assigned subnet arriving on any other interface.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            When DHCP works but nothing else does my first thought is a missing firewall rule. But those rules look good. And with pf disabled you should always be able to reach the LAN IP.
                                            Also you should be able to ping out to a client on LAN with no rules in place.

                                            So then why is it not replying... a bad route perhaps or subnet conflct. But those also look good.

                                            So then we have mystery disappearing packets and that is usually either the IPSec daemon grabbing them or captive portal blocking that traffic in ipfw.
                                            Do you have either IPSec or Captive Portal configured?

                                            Steve

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