Navigation

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

    Getting LAN to talk to LAN2 [SOLVED]

    Firewalling
    3
    8
    746
    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.




      1 Reply Last reply Reply Quote 0
      • ptt
        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
          • ptt
            ptt Rebel Alliance last edited by

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




            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.




              1 Reply Last reply Reply Quote 0
              • Derelict
                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
                The pfSense Book is free of charge!
                DO NOT set a source 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
                  • ptt
                    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