How to make CUPS GUI available to other hosts?
Knight
knightotp at gmail.com
Thu Nov 18 10:01:14 UTC 2010
On Tue, 2010-11-16 at 16:21 -0800, Masao Kitamura wrote:
> I'm trying to make the CUPS GUI available on a server (no monitor).
>
> So, I'm testing on a desktop installation where I know the GUI works like this:
>
> http://localhost:631
>
> Next, I'm trying to access that same desktop box from another machine's brower:
>
> http://the.other.box.that.works:631
>
> The cupsd.conf file on the working machine looks like this:
>
> LogLevel warn
> MaxLogSize 0
> SystemGroup lpadmin
> # Only listen for connections from the local machine.
> Listen *:631
> Listen /var/run/cups/cups.sock
> # Show shared printers on the local network.
> Browsing On
> BrowseOrder allow,deny
> BrowseAllow all
> BrowseRemoteProtocols CUPS
> BrowseLocalProtocols
> DefaultAuthType Basic
>
>
> However, I only get a 403 forbidden response from any other browser
> (non-localhost).
>
> Does anyone know how to access the CUPS GUI from another machine?
>
> Thanks,
>
> Masao
>
May I suggest a complete different way to achieve the same?
I don't know if it suits your needs, but if you're the only one who
administer the printer, you could also create a dynamic ssh tunnel to
the machines.
This should all be done from the other machine - from which you want to
administer cups. And I presumed that would be a Linux too.
For example:
ssh -D 1631 <your_cups_desktop_ip>
Log in (your cups-desktop) and keep the terminal open.
Then open a web-browser and configure it to use a SOCKS5 proxy on
localhost/127.0.0.1 port 1631
Next thing is to browse to http://localhost:631
You should land at the cups-interface of the cups-desktop.
You can test if the proxy works correct by going first to google or any
other website.(i.e. to check for your ip-address)
This way you don't have to make the cups admin interface public
available. Which I think is saver than to have it open just for
everyone. Cups is not for nothing standard closed to the public. ;-)
Regards,
--
Knight Of The Post
Linux Pro or Pro Linux?!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101118/ae5443e2/attachment.sig>
More information about the ubuntu-users
mailing list