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

    Printer and firewall rules - best practise

    Scheduled Pinned Locked Moved Firewalling
    22 Posts 5 Posters 2.8k 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.
    • N
      netboy @Gertjan
      last edited by

      @gertjan said in Printer and firewall rules - best practise:

      When you put everybody, PC, NAS & Printers in one LAN network, and the IoT stuff on another network, you can access your printer easier, "the GUI way".
      Use a DHCP-static lease for your printer, so now it has a 'static' IP on your LAN.
      Put a block rule on your LAN firewall that blocks this IP : your printer won't be able to go the the Internet.
      Add a pass firewall rule on the IoT network, so IoT device can access the printer on the LAN network.

      °When you put everybody, PC, NAS & Printers in one LAN network, and the IoT stuff on another network, you can access your printer easier, "the GUI way".
      Use a DHCP-static lease for your printer, so now it has a 'static' IP on your LAN.
      Put a block rule on your LAN firewall that blocks this IP : your printer won't be able to go the the Internet.
      Add a pass firewall rule on the IoT network, so IoT device can access the printer on the LAN network.°(information text)

      I like this......but what is the best practice ... Should the printers be in the private network or IoT network? Or it does not matter?

      1 Reply Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @Gertjan
        last edited by

        @gertjan said in Printer and firewall rules - best practise:

        edit : Ok, I get it : are printers ordering their own toners and cartridges now ??

        I'm afraid that some of them are, or checking codes on carts to see if they're legit and bricking the system.

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        S 1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @rcoleman-netgate
          last edited by

          @rcoleman-netgate said in Printer and firewall rules - best practise:

          or checking codes on carts to see if they're legit and bricking the system

          HP has HP+ branded printers that:

          1. require you to agree to use only their ink
          2. requires the printer be connected to the Internet: "While the printer is disconnected, you might be able to print a limited amount, but eventually the printer stops working. To resume printing, connect the printer to the internet again."
          3. work with HP's optional service called "Instant Ink" to automatically purchase and deliver ink/toner

          We posted a newsletter article on this recently but not sure if I can link it here.

          re: cartridges, I have also read HP may "lock" a specific cartridge to a given printer so it can't be moved.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          N 1 Reply Last reply Reply Quote 0
          • N
            netboy @SteveITS
            last edited by

            @steveits Interesting....not sure internet was required. This makes me decide to keep printers in IoT and let them access the internet...it is isolated and can be accessed from my PvT subnet. I believe this is the easiest solution for newbie like me unless somebody tells me this is a bad idea

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

              @netboy said in Printer and firewall rules - best practise:

              it is isolated and can be accessed from my PvT subnet.

              A common problem users run into when putting their printers in a different network than their client trying to print is stuff like airprint will not work out of the box... Because discovery doesn't work. You would have to do some stuff with like avahi to allow discovery to work.

              If your client is like a pc that can put in a ip or fqdn for the printer then not an issue, but clients like phones or tablets that rely on discovery (airprint as example) your prob going to have issue discovering the printer to print to it when its in a different vlan/network regardless of your firewall rules.

              I just put my printer in my vlan that my tablets and iphones use, its just easier that way. My pc can print to it no problem from a different vlan. And I am not a fan of breaking L2 boundaries.

              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

              N GertjanG 2 Replies Last reply Reply Quote 0
              • N
                netboy @johnpoz
                last edited by

                @johnpoz Nice to know about air print. However I am setting up this for my home and ALL my cell phones / tablets etc. will connected thru AP - IoT network.

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

                  @netboy said in Printer and firewall rules - best practise:

                  will connected thru AP - IoT network.

                  Then your good.. And this is a simple solution is put the printer on the same network your wifi devices are on ;)

                  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
                  • GertjanG
                    Gertjan @johnpoz
                    last edited by

                    @johnpoz said in Printer and firewall rules - best practise:

                    If your client is like a pc that can put in a ip or fqdn for the printer then not an issue, but clients like phones or tablets that rely on discovery (airprint as example) your prob going to have issue discovering the printer to print to it when its in a different vlan/network regardless of your firewall rules.

                    That is : when the pfSense Avahi package is installed (ans some minimalist setup), you can connect an iPhone on a network (my case) 192.168.2.x/24, and when I ask my iPhone to list available printers, it will list all my network printers on 192.168.1.x/24. These printers do 'Air print' (or whatever) very well.
                    I've added a pass firewall rule on the 192.168.2.x/24 interface that permit 192.168.2.x/24 devices to connect to the 192.168.2.x/24 printers (I used an alias with the 3 IP addresses).
                    I said iPhone, because that's what I'm using. I guess the other ones also work just fine.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      netboy @Gertjan
                      last edited by

                      @gertjan Simple solution is for iphone to point wireless to the appropriate AP which has the printer. I have 2 AP's from TP Link EAP235-Wall (IoT subnet) & EAP615-Wall (Pvt subnet). I am waiting for my netgate 2100 max to arrive. I used tp link ER605 V2 - Terrible router had to return TWICE. What a joke they did not even test the same and selling it. Hopefully AP's will work - fingers crossed.

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @netboy
                        last edited by

                        @netboy said in Printer and firewall rules - best practise:

                        appropriate AP which has the printer.

                        "An AP that has the printer" : how ? You mean : the AP has a USB port, attached to the printer ?
                        Typically, an AP is a very dumb device with on one side a Ethernet plug, and on the other side a radio device. It is - should be - network L2/3 transparent.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rcoleman-netgate Netgate @Gertjan
                          last edited by

                          @gertjan Could be a printer with WiFi... that is fairly common now

                          Ryan
                          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                          Requesting firmware for your Netgate device? https://go.netgate.com
                          Switching: Mikrotik, Netgear, Extreme
                          Wireless: Aruba, Ubiquiti

                          GertjanG 1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @rcoleman-netgate
                            last edited by

                            @rcoleman-netgate
                            Ah, ok, seen like that, makes sens now.
                            Thanks.

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              netboy @Gertjan
                              last edited by

                              @gertjan One printer wired and one printer wireless

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