Thursday, February 7, 2013

CUPS: Web GUI

In order to access cups web GUI from an other computer, there is a need to edit /etc/cups/cupsd.conf:


# Only listen for connections from the local machine.
Listen localhost:631 # You can configure wich interface to listen to
Listen /var/run/cups/cups.sock

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow 192.168.1.0/24 # Add this line and specify your network/hostname or ip.
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow 192.168.1.0/24 # Add this line and specify your network/hostname or ip.
</Location>


Dennis.

No comments:

Post a Comment