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

    Getting LAN to talk to LAN2 [SOLVED]

    Scheduled Pinned Locked Moved Firewalling
    8 Posts 3 Posters 967 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.
    • S
      sergrusso
      last edited by

      I have two LANs on my Pfsense box.  LAN 192.168.1.1/24  and LAN2 192.168.2.1/24
      Both can access the internet but they can't talk to each other.  I have tried to create a few rules,
      but for some reason I can't get this to work.  Could someone please point me in the right direction
      or give me an example.

      Any help would be greatly appreciated.

      LAN.png
      LAN.png_thumb
      LAN2.png
      LAN2.png_thumb

      1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance
        last edited by

        https://doc.pfsense.org/index.php/Bypassing_Policy_Routing

        https://doc.pfsense.org/index.php/Firewall_Rule_Troubleshooting

        1 Reply Last reply Reply Quote 0
        • S
          sergrusso
          last edited by

          Thanks for your reply.

          I tried bypassing policy routing but that didn't seem to change any thing assuming I did it right.

          Action; Pass
          Interface:LAN
          Address Family:Ipv4
          Protocal:any
          Source:any
          Destination:192.168.1.0
          Gateway:default

          Action; Pass
          Interface:LAN2
          Address Family:Ipv4
          Protocal:any
          Source:any
          Destination:192.168.2.0
          Gateway:default

          I checked the log and it not showing anything blocked.

          Thanks

          1 Reply Last reply Reply Quote 0
          • pttP
            ptt Rebel Alliance
            last edited by

            https://doc.pfsense.org/index.php/Firewall_Rule_Processing_Order

            LAN.png
            LAN.png_thumb
            LAN2.png
            LAN2.png_thumb

            1 Reply Last reply Reply Quote 0
            • S
              sergrusso
              last edited by

              Ok I have made some progress.  I did it wrong. It should look like this

              Action; Pass
              Interface:LAN
              Address Family:Ipv4
              Protocal:any
              Source:any
              Destination:LAN2 net
              Gateway:default

              Action; Pass
              Interface:LAN2
              Address Family:Ipv4
              Protocal:any
              Source:any
              Destination:LAN net
              Gateway:default

              I can ping a machine on lan2 from my lan1 machine, but I can't ping a lan machine from lan2.
              It may be my priority like you say.

              LAN-2.png
              LAN-2.png_thumb
              LAN2-2.png
              LAN2-2.png_thumb

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

                Your LAN 2 rule is TCP-only. Ping is ICMP. Should be any like the LAN rule.

                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
                • S
                  sergrusso
                  last edited by

                  ok everything is good.  I didn't notice until I posted the picture that my protocol on LAN2 was set to TCP.

                  I tried these rules several time before, but I always had them in the wrong order.

                  Thank You so much
                  ptt

                  1 Reply Last reply Reply Quote 0
                  • pttP
                    ptt Rebel Alliance
                    last edited by

                    You're welcome, glad to be of help

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