I'm not sure which ports are exactly required, but here are a list of often used ones: TCP 80 (HTTP) TCP 443 (HTTPS) UDP 137 (WINS) UDP 161 (SNMP) UDP 162 (SNMP Traps) TCP 515 (LPR/LPD) TCP 631 (IPP) TCP 5000 (XML) TCP 5001 (IPDS) UDP 5353 (MDNS) TCP 8000 (HTTP) TCP 9000 (Telnet) TCP 9100 (Raw Print) TCP 9200 (IR Alerts) UDP 9200 (Discovery) UDP 9300 (NPAP) TCP 9400 (Lexmark Print Port) TCP 9500 (NPAP) TCP 9600 (IPDS) UDP 9700 (Plug-n-Print) Normally just 9100 for RAW printing and 515 for LPD spooling. However, I know Windows clients (and I think Linux as well?) want to use SNMP to the printer to check on status, so consider 161 and 162 UDP as well. If you need to remotely administer the printer's network interface card, you might need 80 and/or 443 as well to pull up the Web management interface. https://ubuntuforums.org/showthread.php?t=1322110