To enable access the CUPS web interface from the network:
Edit the cups configuration file by first running the following command on your server:
vim /etc/cups/cupsd.conf
Find the section that looks like this:
# Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock
Modify it to look like this:
# Only listen for connections from the local machine. Port 631 Listen /var/run/cups/cups.sock
Next, find the section that looks like this:
< Location / > # Restrict access to the server... Order allow,deny < /Location > < Location /admin > # Restrict access to the admin pages... Order allow,deny < /Location > < Location /admin/conf > AuthType Default Require user @SYSTEM # Restrict access to the configuration files... Order allow,deny < /Location >
Modify it to look like this:
< Location / > # Restrict access to the server... Order allow,deny Allow all < /Location > < Location /admin > # Restrict access to the admin pages... Order allow,deny Allow all < /Location > < Location /admin/conf > AuthType Default Require user @SYSTEM # Restrict access to the configuration files... Order allow,deny Allow all < /Location >
Restart the service:
service cups restart
You should now be able to log into cups on your server with:
http://YOURSERVERIPADDRESS:631/