rules to let snmp data in
Chris W. Parker
cparker at swatgear.com
Fri Mar 26 18:55:49 UTC 2004
hello,
i'm trying to do some graphing with cacti but i can't seem to get the
correct rules into my iptables file. about one month ago the graphing
worked fine. but all of a sudden it stopped.
i checked my iptables file to see what was going on. i found that i
didn't have any rules in there regarding snmp. so i added the following
rules:
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 161 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 161 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 162 -j ACCEPT
but that didn't help (yes i restarted iptables).
i am ONLY able to get cacti to graph any data if i completely shut
iptables off. that means i must be missing something or am writing the
above rules wrong.
i would appreciate any/all help with this.
thanks,
chris.
More information about the redhat-list
mailing list