Click to See Complete Forum and Search --> : Remote access to CUPS web interface


Archibald
06-22-2004, 10:28 AM
I need to access the CUPS web interface from another computer in my network. It doesn't seem to accept anything else than localhost:361, how do I do this?

ph34r
06-22-2004, 10:46 AM
Use a ssh tunnel to forward the port?

ssh -L8000:localhost:631 you@remotebox

Archibald
06-22-2004, 11:17 AM
Is this supposed to be written in the browser (this is a total newbie thats speaking)? cause, in that case it doesn't work, I get the apache start page of the server I want to connect to.

je_fro
06-22-2004, 12:02 PM
Look for BrowseAllow in /etc/cups/cupsd.conf
and take a look at the rest of that file while you're there.

ph34r
06-22-2004, 12:55 PM
enter

ssh -L8000:localhost:631 you@remotebox

in a console/terminal window, then start a browser and point it to http://localhost:8000 and you will be connected to the cups interface on hte remote box. Substitute you for your username at the remote box, and remotebox for the hostname/ip of the remote box

Archibald
06-22-2004, 02:00 PM
Originally posted by je_fro
Look for BrowseAllow in /etc/cups/cupsd.conf
and take a look at the rest of that file while you're there.
Ok, I've changed a few lines, to these:


BrowseAllow all
BrowseDeny none

...

<Location />
Order Deny,Allow
Deny From None
Allow From all
</Location>

...

## Restrict access to local domain
Order Deny,Allow
Deny From none
Allow From all

#Encryption Required
</Location>

But this doesn't change anything, I still cannot access by a remote browser..

Originally posted by ph34r
enter

ssh -L8000:localhost:631 you@remotebox

in a console/terminal window, then start a browser and point it to http://localhost:8000 and you will be connected to the cups interface on hte remote box. Substitute you for your username at the remote box, and remotebox for the hostname/ip of the remote box

I forgot to tell that the remote computer runs win xp. Can I still do make the tunnel?

je_fro
06-22-2004, 04:01 PM
are you sure cupsd is running?
are you trying to connect with (for example) http://123.456.789.10:631 ?
or a hostname? Is there a firewall in the mix?

Archibald
06-22-2004, 04:45 PM
cuspd is running, I can access it from the server itself with lynx.
I've been trying both ip and hostname, and there's no firewall between the computers...