Installing CUPS service, how to access its config page?

Bo Berglund bo.berglund at gmail.com
Sun Nov 12 07:18:56 UTC 2023


On Sat, 11 Nov 2023 12:35:15 -0600, Keith <keithw at caramail.com> wrote:

>On 11/11/23 11:27 AM, Bo Berglund wrote:
>Aside from setting which interface to listen on, did you also add an 
>Allow directive for your remote machine under the Location sections?
>
># Restrict access to the server...
><Location />
>   Order allow,deny
></Location>
>
># Restrict access to the admin pages...
><Location /admin>
>   Order allow,deny
></Location>
>
>By default, access is denied unless you whitelist the 
>ip/hostname/domain/subnet etc. of the machine your connecting from.
>
>There's an example at the bottom of the manpage for cupsd.conf that 
>shows what that would look like.
>
>The following should work. Of course, reversing the order "allow,deny" 
>to "deny,allow" in these sections (or using Allow all) will open 
>everything up.
>
># Restrict access to the server...
><Location />
>   Order allow,deny
>   Allow ipv4-address (ip address of remote machine)
></Location>
>
># Restrict access to the admin pages...
><Location /admin>
>   Order allow,deny
>   Allow ipv4-address (ip address of remote machine)
></Location>
>
>Just depends on how much access you want to allow.

THANK YOU SO MUCH!!!!

The "Allow ipv4-address" setting is not mentioned in any tutorial I have
found/read, but is actually what made it work for me!

Now I have been able to access the admin page and set up my printers
accordingly.


-- 
Bo Berglund
Developer in Sweden




More information about the ubuntu-users mailing list