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

    What's the best network setup for a group of devices?

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    19 Posts 3 Posters 1.5k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      Rules are evaluated top down, first rule to trigger wins, no other rules are evaluated. So your allow rules below the block rule never get evaluated.. Because your block rule blocks all lan devices.

      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 1
      • E
        eiger3970
        last edited by

        Thanks.
        alt text

        1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott @eiger3970
          last edited by

          @eiger3970 said in What's the best network setup for a group of devices?:

          A VLAN, rules allowing MAC addresses, a group or something else?

          PfSense doesn't filter on MAC addresses, so you can only use IP addresses.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          1 Reply Last reply Reply Quote 1
          • E
            eiger3970
            last edited by

            Ok, that sounds great!
            I only asked as the WLAN intercom may or may not have a configurable dynamic to static IP address.

            1 Reply Last reply Reply Quote 0
            • E
              eiger3970
              last edited by

              As per rules in post 10, I've tested and the hypervisor and vm router can still traffic with the internet.

              I'm not confident my rules are correct to stop all traffic.
              I thought I would have to add the 4 devices' IP addresses?

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

                @eiger3970 said in What's the best network setup for a group of devices?:

                I'm not confident my rules are correct to stop all traffic.

                The rules you posted are not blocking anything. You have a Any rule for anything in LAN.. That last block rule doesn't do anything other than NOT Log your blocks.. Say something like broadcast.

                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
                • E
                  eiger3970
                  last edited by

                  Ok, I think I understand now.
                  I'll create 4 LAN IP allow rules, then a last block all LAN.
                  After that, I'll test how the WLAN works, as the LAN to devices 3 and 4 are via 1 or 2 WLAN APs.

                  1 Reply Last reply Reply Quote 0
                  • E
                    eiger3970
                    last edited by

                    Oh, same issue as before.
                    When I create a new Firewall Rule to pass, I set the Destination to LAN address, however the Destination Address is greyed out and I cannot enter the preferred LAN IP address?

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

                      @eiger3970 said in What's the best network setup for a group of devices?:

                      then a last block all LAN.

                      Dude why do you think you need this? By default if not allowed - its blocked..

                      Again rules are evaluated top down, first rule to trigger wins, NO OTHER rules are evaluated. Post up these 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

                      1 Reply Last reply Reply Quote 1
                      • E
                        eiger3970
                        last edited by

                        I can't post the rules, as I can't add them?
                        The LAN IPs to allow internet are:
                        Device1: Hypervisor: 192.168.1.140.
                        Device2: VM router (pfSense): 192.168.1.170.
                        Device3: Intercom via WLAN: IP unknown, only MAC address known.
                        Device4: Solar meter reader via WLAN: unknown, only MAC address known.
                        Device5: my Linux Mint computer needs access to the network to configure devices, however no internet needed. If needed, I hotspot to my phone.

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

                          What do you mean you can't add them.. .Sure you can.. Post up the screen where you trying to add them, and what errors or whatever that is keeping you from posting them..

                          Here.. example
                          rules.jpg

                          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
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.