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.

Reply via email to