[CentOS] Standard RH iptables analysis

Thu Jun 7 01:46:44 UTC 2007
Barry Brimer <lists at brimer.org>

Quoting Al Sparks <data345 at 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