LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-14-2014, 01:10 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
CUPS web interface not accessible from remote clients


I have a CentOS machine running in the house and I want to use it as a printing system. I also want the convenience of having it accessible through it's web interface. I have set the following options in the hopes that it would make the WebUI accessible from other computers on the network.

changed contents of /etc/cups/cups.conf
Code:
Listen 192.168.1.91:631
Allow From 192.168.1.0/24
I restarted the cups server and went to a client machine to connect to the web interface for configurations. Low and behold I get the "403 Forbidden" error. How do I fix this? google searching comes up with nothing. I would expect a solution to this to be simple but that doesn't seem to be the case.

Last edited by baronobeefdip; 03-14-2014 at 01:14 PM.
 
Old 03-14-2014, 01:27 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Haven't used cups web, but that config is for apache, right?
So you need to restart apache, not cups.
 
Old 03-14-2014, 07:43 PM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
It's not for apache, this is a cups configuration file. I would like the web interface to be accessible from another computer on the network.
 
Old 03-14-2014, 09:25 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Does the firewall if running allow traffic on port 631?

You can enable remote administration from the web administration page or via the command line tool cupsctl on the machine itself without messing with cups.conf directly.

If you want to manually edit the cupsd.conf file...
http://injustfiveminutes.com/2013/11...s-admin-inter/

I would use port 631 instead to enable all interfaces.

Last edited by michaelk; 03-14-2014 at 09:29 PM.
 
Old 03-24-2014, 09:08 AM   #5
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
Just found the setting, I am not at my computer at the moment but will get back to everyone as soon as I try it out.
 
Old 03-29-2014, 07:02 PM   #6
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
I just recalled that since I don't have desktop access to the machine I am trying to get remote web access to the CUPS interface that this wasn't going to fly. It took me until when I came back to work on it to figure that out. If I was able to reach this setting remotely through the webui then that would've defeated the purpose of this thread. I am wanting to know exactly how to setup the CUPS server to listen to requests for it's web interface on the outside instead of from itself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache web server not accessible from remote system paruchurup Red Hat 11 07-25-2013 12:30 AM
Cups Web Interface treedstang Linux - General 1 10-18-2005 05:04 PM
Cups Web Interface not available m-blaster Linux - Software 3 03-27-2005 11:33 AM
cups web interface brasuca Linux - Networking 0 05-31-2004 10:42 AM
cups web interface j-me Linux - Software 3 03-24-2003 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration