Quoting Al Sparks data345@yahoo.com:
This is a standard RedHat / CentOS firewall configuration, where I told it, through the standard RH setup GUI, that I want ssh and snmp allowed through.
<snip>
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:snmp ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
I'm not an SNMP person, but IIRC, SNMP usually runs un udp/161 not tcp/161.
Barry