apt-get purge --auto-remove cups-daemon
apt-get install cups vi /etc/cups/cupsd.conf # Only listen for connections from the local machine. Listen ubuntu-sub:631 Listen /var/run/cups/cups.sock
# Restrict access to the server…
<Location />
Order allow,deny
Allow localhost
Allow 192.168.1.*
</Location>
# Restrict access to the admin pages…
<Location /admin>
Order allow,deny
Allow localhost
Allow 192.168.1.*
</Location>
コメント