Change the CUPS web interface to listen on an external IP address
This document (7004934) is provided subject to the disclaimer at the end of this document.
Environment
CUPS
Situation
The CUPS web interface listens on 127.0.0.1
CUPS web interface is only available on the local server
Workstations cannot access CUPS interface
Resolution
Editing /etc/cups/cupsd.conf:
# Listen on external interfaces for connections
Listen <dnsnameofyourserver>:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress All
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
Allow All
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow All
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow All
</Location>
Once these steps are complete, cups must be restarted:
/etc/init.d/cups restart
Once cups has been restarted, the page will look like this:
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7004934
- Creation Date: 25-Nov-2009
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com