Skip to content

Instantly share code, notes, and snippets.

@tedheich
Created October 5, 2011 13:37
Show Gist options
  • Save tedheich/1264441 to your computer and use it in GitHub Desktop.
Save tedheich/1264441 to your computer and use it in GitHub Desktop.
Default configuration of CUPS
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631 #change this to Listen youripaddress:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
#
#Some lines we do not need, I've taken out
#
Allow localhost
Allow 192.168.0.* #Add this line
# Allow shared printing and remote administration...
Order allow,deny
Allow all
Allow 192.168.0.* # Add this line
# Allow remote administration...
Order allow,deny
Allow all #Add this line if it's not there yet
AuthType Default
Allow 192.168.0.* #Add this line
# Allow remote access to the configuration files...
Order allow,deny
Allow all
.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment