CUPS Remote-Zugriff Webinterface: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Standardmäßig lässt sich das CUPS-Webinterface nur vom localhost auf Port 631 bedienen“) |
|||
| Zeile 1: | Zeile 1: | ||
Standardmäßig lässt sich das CUPS-Webinterface nur vom localhost auf Port 631 bedienen | Standardmäßig lässt sich das CUPS-Webinterface nur vom localhost auf Port 631 bedienen | ||
| + | |||
| + | = CUPS Konfigurationsdatei bearbeiten = | ||
| + | |||
| + | * '''vim /etc/cups/cupsd.conf''' | ||
| + | |||
| + | Listen '''0.0.0.0''':631 | ||
| + | Listen /run/cups/cups.sock | ||
| + | |||
| + | # Show shared printers on the local network. | ||
| + | Browsing On | ||
| + | BrowseLocalProtocols dnssd | ||
| + | |||
| + | # Default authentication type, when authentication is required... | ||
| + | DefaultAuthType Basic | ||
| + | |||
| + | # Web interface setting... | ||
| + | WebInterface Yes | ||
| + | |||
| + | # Restrict access to the server... | ||
| + | <Location /> | ||
| + | Order allow,deny | ||
| + | '''Allow 192.168.56.254''' | ||
| + | </Location> | ||
| + | |||
| + | # Restrict access to the admin pages... | ||
| + | <Location /admin> | ||
| + | '''Allow 192.168.56.254''' | ||
| + | Order allow,deny | ||
| + | </Location> | ||
| + | |||
| + | # Restrict access to configuration files... | ||
| + | <Location /admin/conf> | ||
| + | '''Allow 192.168.56.254''' | ||
| + | AuthType Default | ||
| + | Require user @SYSTEM | ||
| + | Order allow,deny | ||
| + | </Location> | ||
| + | |||
| + | # Restrict access to log files... | ||
| + | <Location /admin/log> | ||
| + | AuthType Default | ||
| + | Require user @SYSTEM | ||
| + | '''Allow 192.168.56.254''' | ||
| + | Order allow,deny | ||
| + | </Location> | ||
Version vom 22. Februar 2023, 10:35 Uhr
Standardmäßig lässt sich das CUPS-Webinterface nur vom localhost auf Port 631 bedienen
CUPS Konfigurationsdatei bearbeiten
- vim /etc/cups/cupsd.conf
Listen 0.0.0.0:631 Listen /run/cups/cups.sock # Show shared printers on the local network. Browsing On BrowseLocalProtocols dnssd # Default authentication type, when authentication is required... DefaultAuthType Basic # Web interface setting... WebInterface Yes # Restrict access to the server... <Location /> Order allow,deny Allow 192.168.56.254 </Location> # Restrict access to the admin pages... <Location /admin> Allow 192.168.56.254 Order allow,deny </Location> # Restrict access to configuration files... <Location /admin/conf> Allow 192.168.56.254 AuthType Default Require user @SYSTEM Order allow,deny </Location> # Restrict access to log files... <Location /admin/log> AuthType Default Require user @SYSTEM Allow 192.168.56.254 Order allow,deny </Location>