Yes, by default Redhats /etc/lpd.perms only allows connections from the localhost,
for security reasons.  I'm not sure if any of the Redhat tools allow you to modify
that file though, you may need to tweak it by hand or maybe find another tool to
do it.

[EMAIL PROTECTED] wrote*:
>
>I am using LPD that listens on 515.
>After fiddling and banging my head, I came to some point worth troubleshooting.
At this point I am left with error msg "Don't have permissions" when tried to
print from client machine. I guess I need to tweak /etc/lpd.perms file.
>
>Any input on 'printtool' utitlity in RH? Read on google groups that 'printtool'
would help to some extent.
>
>Thanks for all input/expertise.
>
>----- Original Message -----
>From: Trevor Lauder <[EMAIL PROTECTED]>
>Date: Tuesday, October 22, 2002 10:46 pm
>Subject: Re: (clug-talk) printing & firewall
>
>> LPD uses 515 by default, CUPS uses 631 by default.  However, if
>> you are sharing out
>> the printer with Samba then you do not need to open those ports on
>> any of the
>> interfaces.  Opening only the Samba ports and sharing the printer
>> through it would
>> be the best way to go about this from a security stand point.  If
>> you are using CUPS
>> and want to use the web-based management features in it then you
>> will need to share
>> out port 631 anyways, although I would only allow access to that
>> port from specific
>> IP addresses.
>>
>> Shane&Lisa ([EMAIL PROTECTED]) wrote*:
>> >
>> >I would guess that you would have to tell iptables only to accept
>> requests>from port 553 from internal addresses.
>> >Least I think the printer sits at 553... you can check by typing:
>> >
>> >ps -aux | grep lpd
>> >
>> >I'm no expert though....
>> >
>> >Shane
>> >
>> >Emin Kondapalli wrote:
>> >
>> >> Hi all,
>> >>
>> >> I am trying to setup a printer on the machine that is my
>> firewall (to
>> >> Shaw) too. This machine is running iptables and I am trying to
>> install a
>> >> printer so that I can share/access from another linux box.
>> >>
>> >> Is this a feasible setup? i.e. having firewall and networked
>> printer on
>> >> the same machine. Because, host name of this machine is set
>> when I
>> >> connect to cable modem. Basically, the host name looks
>> something like
>> >> this -- hxx-xxx-xx-xx. Where xx are the digits from the IP address
>> >> obtained thru DHCP from Shaw.
>> >>
>> >> Once I succeed, I intend to have Samba. What are the potential
>> problems>> (when Samba is installed)?
>> >>
>> >> All help is appreciated.
>> >
>> >
>>
>> --
>> Trevor Lauder
>>
>> --- Home ---
>> WWW: http://www.thelauders.net
>> E-Mail: [EMAIL PROTECTED]
>>
>> --- Work ---
>> LAN Solutions
>> Manager of Linux Solutions
>> WWW: http://www.lansolutions.ab.ca
>> E-Mail: [EMAIL PROTECTED]
>>
>>
>>
>
>

--
Trevor Lauder

--- Home ---
WWW: http://www.thelauders.net
E-Mail: [EMAIL PROTECTED]

--- Work ---
LAN Solutions
Manager of Linux Solutions
WWW: http://www.lansolutions.ab.ca
E-Mail: [EMAIL PROTECTED]


Reply via email to