<!DOCTYPE html> <html> <!-- SECTION: Getting Started --> <head> <title>Firewalls</title> <link rel="stylesheet" type="text/css" href="../cups-printable.css"> </head> <body> <h1 class="title">Firewalls</h1> <p>This help document describes the ports that CUPS uses so that firewall administrators can allow traffic used for printing.</p> <h2 class="title" id="SHARING">Ports Used for Printer Sharing</h2> <p>Table 1 lists the ports that are used for IPP printer sharing via CUPS.</p> <div class="table"><table summary="Ports Used for IPP Printer Sharing"> <caption>Table 1: Ports Used for IPP Printer Sharing</caption> <thead> <tr><th>(Destination) Port</th><th>TCP/UDP</th><th>Direction</th><th>Description</th></tr> </thead> <tbody> <tr><td>53 (DNS)</td><td>TCP/UDP</td><td>OUT</td><td>Domain Name System lookups and service registrations.</td></tr> <tr><td>631 (IPP/IPPS)</td><td>TCP</td><td>IN</td><td>Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.)</td></tr> <tr><td>5353 (mDNS)</td><td>UDP</td><td>IN+OUT</td><td>Multicast DNS lookups and service registrations.</td></tr> </tbody> </table></div> <p>Table 2 lists the ports that are used for SMB (Windows) printer sharing, typically via the Samba software.</p> <div class="table"><table summary="Ports Used for SMB Printer Sharing"> <caption>Table 2: Ports Used for SMB Printer Sharing</caption> <thead> <tr><th>(Destination) Port(s)</th><th>TCP/UDP</th><th>Direction</th><th>Description</th></tr> </thead> <tbody> <tr><td>137 (WINS)</td><td>UDP</td><td>IN+OUT</td><td>Windows Internet Naming Service (name lookup for SMB printing).</td></tr> <tr><td>139 (SMB)</td><td>TCP</td><td>IN</td><td>Windows SMB printing.</td></tr> <tr><td>445 (SMBDS)</td><td>TCP</td><td>IN+OUT</td><td>Windows SMB Domain Server (authenticated SMB printing).</td></tr> </tbody> </table></div> <h2 class="title" id="PRINTERS">Ports Used for Network Printers</h2> <p>Table 3 lists the ports for outgoing network traffic that are used for network printers.</p> <blockquote><b>Notes:</b> <ol> <li>DNS and mDNS are used for all printing protocols except SMB.</li> <li>SNMP is used to provide status and supply level information for AppSocket and LPD printers.</li> </ol> </blockquote> <div class="table"><table summary="Outgoing Ports Used for Network Printers"> <caption>Table 3: Outgoing Ports Used for Network Printers</caption> <thead> <tr><th>(Destination) Port(s)</th><th>TCP/UDP</th><th>Description</th></tr> </thead> <tbody> <tr><td>53 (DNS)</td><td>TCP/UDP</td><td>Domain Name System lookups.</td></tr> <tr><td>137 (WINS)</td><td>UDP</td><td>Windows Internet Naming Service (name lookup for SMB printing).</td></tr> <tr><td>139 (SMB)</td><td>TCP</td><td>Windows SMB printing.</td></tr> <tr><td>161 (SNMP)</td><td>UDP</td><td>SNMP browsing (broadcast) and status monitoring (directed to printer IP address).</td></tr> <tr><td>443 (IPPS)</td><td>TCP</td><td>Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.)</td></tr> <tr><td>445 (SMBDS)</td><td>TCP</td><td>Windows SMB Domain Server (authenticated SMB printing).</td></tr> <tr><td>515 (LPD)</td><td>TCP</td><td>Line Printer Daemon (LPD/lpr) print job submission and status monitoring.</td></tr> <tr><td>631 (IPP/IPPS)</td><td>TCP</td><td>Internet Printing Protocol requests and responses (print jobs, status monitoring, etc.)</td></tr> <tr><td>5353 (mDNS)</td><td>UDP</td><td>Multicast DNS lookups.</td></tr> <tr><td>9100-9102</td><td>TCP</td><td>Raw print data stream (AppSocket/JetDirect).</td></tr> </tbody> </table></div> </body> </html>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
accounting.html | File | 2.63 KB | 0644 |
|
admin.html | File | 11.66 KB | 0644 |
|
api-admin.html | File | 19.99 KB | 0644 |
|
api-filter.html | File | 61.66 KB | 0644 |
|
api-ppd.html | File | 92.21 KB | 0644 |
|
api-raster.html | File | 59.02 KB | 0644 |
|
cgi.html | File | 2.58 KB | 0644 |
|
cupspm.html | File | 370.35 KB | 0644 |
|
encryption.html | File | 4.21 KB | 0644 |
|
firewalls.html | File | 3.94 KB | 0644 |
|
glossary.html | File | 2.66 KB | 0644 |
|
kerberos.html | File | 4.21 KB | 0644 |
|
license.html | File | 11.78 KB | 0644 |
|
man-backend.html | File | 9.35 KB | 0644 |
|
man-cancel.html | File | 2.56 KB | 0644 |
|
man-classes.conf.html | File | 1.15 KB | 0644 |
|
man-client.conf.html | File | 6.91 KB | 0644 |
|
man-cups-config.html | File | 3.3 KB | 0644 |
|
man-cups-files.conf.html | File | 12.26 KB | 0644 |
|
man-cups-lpd.html | File | 4.75 KB | 0644 |
|
man-cups-snmp.html | File | 2.72 KB | 0644 |
|
man-cups.html | File | 7.43 KB | 0644 |
|
man-cupsaccept.html | File | 2.48 KB | 0644 |
|
man-cupsd-helper.html | File | 2.59 KB | 0644 |
|
man-cupsd-logs.html | File | 9.55 KB | 0644 |
|
man-cupsd.conf.html | File | 37.78 KB | 0644 |
|
man-cupsd.html | File | 3.22 KB | 0644 |
|
man-cupsenable.html | File | 2.97 KB | 0644 |
|
man-cupstestppd.html | File | 4.83 KB | 0644 |
|
man-filter.html | File | 11.36 KB | 0644 |
|
man-ippevepcl.html | File | 1.88 KB | 0644 |
|
man-ippeveprinter.html | File | 9.88 KB | 0644 |
|
man-ippfind.html | File | 9.72 KB | 0644 |
|
man-ipptool.html | File | 7.53 KB | 0644 |
|
man-ipptoolfile.html | File | 27.3 KB | 0644 |
|
man-lp.html | File | 7.32 KB | 0644 |
|
man-lpadmin.html | File | 10.04 KB | 0644 |
|
man-lpc.html | File | 2.11 KB | 0644 |
|
man-lpinfo.html | File | 3.66 KB | 0644 |
|
man-lpmove.html | File | 1.91 KB | 0644 |
|
man-lpoptions.html | File | 3.88 KB | 0644 |
|
man-lpq.html | File | 1.97 KB | 0644 |
|
man-lpr.html | File | 5.93 KB | 0644 |
|
man-lprm.html | File | 2.08 KB | 0644 |
|
man-lpstat.html | File | 4.55 KB | 0644 |
|
man-mime.convs.html | File | 2.59 KB | 0644 |
|
man-mime.types.html | File | 5.47 KB | 0644 |
|
man-notifier.html | File | 1.35 KB | 0644 |
|
man-ppdc.html | File | 3.5 KB | 0644 |
|
man-ppdhtml.html | File | 1.83 KB | 0644 |
|
man-ppdi.html | File | 1.99 KB | 0644 |
|
man-ppdmerge.html | File | 1.75 KB | 0644 |
|
man-ppdpo.html | File | 2.09 KB | 0644 |
|
man-printers.conf.html | File | 1.18 KB | 0644 |
|
man-subscriptions.conf.html | File | 1.22 KB | 0644 |
|
network.html | File | 18.56 KB | 0644 |
|
options.html | File | 16.42 KB | 0644 |
|
overview.html | File | 3.4 KB | 0644 |
|
policies.html | File | 21.25 KB | 0644 |
|
postscript-driver.html | File | 23.26 KB | 0644 |
|
ppd-compiler.html | File | 45.13 KB | 0644 |
|
raster-driver.html | File | 20.32 KB | 0644 |
|
ref-ppdcfile.html | File | 69.29 KB | 0644 |
|
security.html | File | 4.44 KB | 0644 |
|
sharing.html | File | 4.45 KB | 0644 |
|
spec-banner.html | File | 4.05 KB | 0644 |
|
spec-command.html | File | 6.08 KB | 0644 |
|
spec-design.html | File | 13.05 KB | 0644 |
|
spec-ipp.html | File | 65.4 KB | 0644 |
|
spec-ppd.html | File | 90.33 KB | 0644 |
|
spec-raster.html | File | 23.34 KB | 0644 |
|
spec-stp.html | File | 3.79 KB | 0644 |
|
translation.html | File | 24.29 KB | 0644 |
|