[CentOS] [SOLVED] Re: lost udp packets
jep at obrien-pifer.com
Sun Oct 7 09:26:50 EDT 2012
On 10/7/2012 4:03 AM, Gordon Messmer wrote:
> On 10/05/2012 11:53 AM, James Pifer wrote:
>> Now I need to figure out how to have the traps forwarded but retain the
>> real source of the trap.
> If you want to forward the traps without modifying the source address on
> the UDP packet, you'll need to use iptables. Add a DNAT rule to the
> PREROUTING chain in the nat table.
> CentOS mailing list
> CentOS at centos.org
I was able to add the following to snmptrad.conf and the source address
format1 '%B [%b]: Trap %#v\n
format2 '%B [%b]: Trap %#v\n
More information about the CentOS