IP Tables Saga...:(
Posted: Thu Sep 06, 2012 1:34 pm
Hi Guys,
I have a bizarre one here, setting up an XI server at a customer site for monitoring their stuff, I was happily all the network switches until we needed to cross subnet boundaries and add switches from a different subnet , it looks like iptables is somehow managing to block snmp queries from other subnets, just confirm I can ssh and ping to the remote hosts only SNNP problems...
here is my rule chain output
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT udp -- anywhere anywhere state NEW udp dpt:snmp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:snmptrap
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Any suggestions how I can fix this without permanently shutting down iptables ...
Many Thanks
Arnab
I have a bizarre one here, setting up an XI server at a customer site for monitoring their stuff, I was happily all the network switches until we needed to cross subnet boundaries and add switches from a different subnet , it looks like iptables is somehow managing to block snmp queries from other subnets, just confirm I can ssh and ping to the remote hosts only SNNP problems...
here is my rule chain output
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT udp -- anywhere anywhere state NEW udp dpt:snmp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:snmptrap
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Any suggestions how I can fix this without permanently shutting down iptables ...
Many Thanks
Arnab