this post was submitted on 06 Oct 2026
25 points (96.3% liked)
techsupport
3222 readers
1 users here now
The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.
If something works or if you find a solution to your problem let us know it will be greatly apreciated.
Rules: instance rules + stay on topic
Partnered communities:
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You could statically assign an IP to the printer (if it has WiFi/ethernet) and not set a default gateway. It then won't know how to communicate with the internet but still be accessible on the same local subnet.
A more advanced route would be separate VLANs with routing rules between your main vlan and the printer vlan, while blocking all outbound traffic from the printer vlan.
Or you could set up something like a raspberry pi or similar as a print server. The printer connects to it via USB only, so has no access to any networks. And the raspberry pi is the device you configure and trust, which does the translation from network based printing to USB based printing.
Is the gateway something like 192 168 255 255?
Yes, usually the gateway address is the ip address of your router. You may leave it empty or modify it in a way that it points to a dead address.
Would loopback (127 0 0 1) work too or should I just leave it blank?
This is the easiest answer.
Vlans are not the easiest answer.
As someone else suggested blocking the printer at the router is easier.
Sorry, I meant just doing a static IP and not giving it a gateway.