Use OS to lock down Printer Port 9100 to specific IPs
Hello Experts!
I have a router with port forwarding turned on for access to a networked printer (port 9100) from external devices. I want to lock down access to this port to only come from various IP addresses (to avoid spammers from printing to this device). My router does not seem to have the capability to lock down access to this port from IP addresses, so I'm looking for a way for the Windows OS to only allow certain IPs to access the port. Is there a way to do this?
Thanks,
-Joe
Printers and Scanners* port forwardWindows OS
Last Comment
noci
8/22/2022 - Mon
Dr. Klahn
By "networked printer" do you mean -
a) A standalone printer with its own Ethernet / WiFi interface and IP address
b) A printer attached to a Windows system that is available to the LAN as a shared printer
The solution would be different in each case.
Joe Thompson
ASKER
It's both actually. It is a standalone printer (Konica BizHub) on a Windows (server 2016 essentials) network shared via the server.
Dr. Klahn
In this situation, and this is purely my opinion -- you will get others -- I'd take the printer off the server and put the printer on a router that can handle a USB printer and can also firewall by incoming IP addresses. Alternatively, you could use the printer's network port behind a DD-WRT (or equivalent) router on a "mini-LAN" and port forward to the printer, again with firewalling by IP address.
Well, If I were to do that, I would simply replace the router with one were I can lock down port access via IP address. I'm trying to avoid doing that and have a solution with the current equipment. Isn't there a way to lock down port or sharing on Windows? I know I've seen that in the past but can't find it now.
Port 9100 is on the printer itself, so there is nothing you can do from Windows to block that. You are allowing printing the the outside/internet? Without filtering IP traffic, I don't see a secure way to do that without VPN. Can you configure to print through Windows? You can then use Windows firewall, but I don't like the idea of putting any Windows service directly on Internet, especially not any time a protocol is used that isn't designed for resisting attacks.
Hey Kevin, yes, you are correct. I thought I could lock down the port via windows but it seems I'm going to be stuck here without a way to do this without a secure port forwarding router. :(
Edmond Hawila
Hi Joe, the only way to lock that port through Windows is if you set the Windows box as the Router. You will need an extra dedicated ethernet port for that and enable the Routing and Remote access role. That means that you turn your Windows box into a router but this isn't as simple as it sounds.
I believe it's time to upgrade the router you have there .
Joe Thompson
ASKER
Yep. now the question becomes, "which is the right router to get?" :)
a) A standalone printer with its own Ethernet / WiFi interface and IP address
b) A printer attached to a Windows system that is available to the LAN as a shared printer
The solution would be different in each case.