Remote-access Guide

cups remote access bad request

by Dr. Spencer Frami II Published 1 year ago Updated 1 year ago
image

Enable - Share published printers connected to this system - Allow printing from the Internet - Allow remote administration 3. Save and restart cups 4. Access 127.0.0.1:631 -> works 5. Access 192.168.1.251:631 -> works 6. Access fully.qualified.host.name:631 -> "400 Bad Request" Actual results: 6.

Full Answer

Is there a way to share Cups with remote admin?

It will update the /etc/cups/cupsd.conf file and restart cups for you, saving a backup of the previous configuration in the same folder. It's the similar to the method presented in the official CUPS guide to printer sharing . I found the options --remote-admin in man cupsctl. Show activity on this post. Secure, and allows remote access.

How to setup Cups printer Admin web GUI for remote access?

How to Setup CUPS Printer Admin Web GUI for Remote Access 1 Manage Printer from Web GUI. To configure this URL, you must do the following changes on your /etc/cups/cupsd.conf ... ... 2 Allow Local Subnet to Access Printer Web GUI. ... 3 Restart the CUPS Service. ... 4 CUPS Web UI for Remote Access. ... 5 Shared Printer Configuration. ...

Do I need a @system user to run Cups?

This config does however do away with using @SYSTEM user, and instead will accept any 'local', valid user. The use-case for the config is running CUPS in a docker container, so it seemed best to avoid requiring anything 'special', beyond a user with a password, to provide admin access to CUPS.

How do I enable or disable browsing in cups?

You can also enable or disable browsing support in your CUPS. When you enable the browsing, then this will display the shared printers from your local network. Add the following entries to your cupsd.conf file if you want Browsing to be turned on. # vi /etc/cups/cupsd.conf ..

image

Issue

Not able to access CUPS web interface from remote system in the same subnet.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Manage Printer from Web GUI

All the printer configurations & classes that we setup using lpadmin command line, can also be managed from your browser from the following location:

Allow Local Subnet to Access Printer Web GUI

Add the local desktop IP address or the subnet from which you want to access the printer URL, it should look like below in /etc/cups/cupsd.conf

Restart the CUPS Service

After making the above changes, restart the CUPS service as shown below.

CUPS Web UI for Remote Access

After the above changes, you should be able to access the printer from Web URL as shown below:

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9