Re: SNMP Informs sent from snmpd do not work if firewall is enabled on the machine

Dattaram Porob <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Good suggestion, but then our application supports dynamic addition of
trap receivers. So, we would have to modfy iptables rules also
dynamically; which does not sound like a good idea to me :(

On Mon, Jun 6, 2011 at 5:32 PM, Dave Shield <[email protected]> wrote:
> On 6 June 2011 11:48, Dattaram Porob <[email protected]> wrote:
>> "iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT" is
>> already present in the firewall configuration but still it does not
>> work :(
>
> Sorry - I'm not thinking straight.
> SNMP traffic is typically UDP-based, rather than TCP,
> so no, that wouldn't help.
>
>
>> Any other suggestions?
>
> Try adding an entry to accept traffic from port 162 on the trap
> receiver.   Something like
>
>    -A INPUT -p udp --sport 162   -s {IP}   -j ACCEPT
>
> where {IP} is the IP address of the receiving host.
>
> Dave
>

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.