In case it help anyone in diagnosing my problem, I found that if I had
the following two rules my problem goes away:
$IPT -A INPUT -p tcp --sport 53 -j ACCEPT
$IPT -A INPUT -p udp --sport 53 -j ACCEPT
But I still don't understand why these packets with a SPT of 53 are
coming from the firewall to my machine when I try and establish an SSH
connection.
Seems like the Firewall (which is also a DNS server) is repling to a DNS
query from SERVER1?? Why would SERVER1 be doing DNS queries?
It's true that SSH does do a DNS query when a machine tries to connect
but even if this fails SSH just issues a warning. And Both SERVER1 and
SERVER2 are configured the same way in regards to SSH so I can't see
that SSH is actually the problem.
Hope the info is useful in helping me debug this problem ...
Thanks,
Jc