You could use "tcpdump src or dst 192.168.0.2" (or whichever is your client).
//Anders > 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! > Maybe the easiest way for me to configure things is through an > explanation from someone regarding just which ports (both in and out) > are used for printing under RH. > Of course, actual /iptables/ commands will be fine (preferred? ;-)) > as well! > Thanks for any ideas/comments,
