Kenneth Jacker wrote:
> I've been trying to get remote printing between two RH7.2 systems to > work with /iptables/. I've tried various combinations allowing ports > 515 and 721:731, but it still doesn't work. > > If I open up *all* destination ports (boo!) coming from the remote > printing machine with IP address "a.b.c.d", it works: > > iptables -t filter -A INPUT -p tcp -s a.b.c.d --dport 0: -j ACCEPT > > Also, if I request remote printing via /lpr/ to "a.b.c.d" from a > non-Linux machine (DU/Tru64) is works fine. So, I don't feel the > problem is in the remote machine. It's got to be an incorrect > /iptables/ configuration! To debug your iptables script and find out which ports you need to open try 'iptables -I INPUT 1 -s thehost.youwantto.print.from -j LOG' and do a 'tail -f /var/log/messages'. HTH Martin -- [EMAIL PROTECTED] Discon GmbH IT-Security Engineer Wrangelstrasse 100 http://www.discon.de/ 10997 Berlin, Germany _______________________________________________ Firewalls mailing list [EMAIL PROTECTED] http://lists.gnac.net/mailman/listinfo/firewalls
