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]
