[CentOS] [SOLVED] Re: lost udp packets

James Pifer jep at obrien-pifer.com
Sun Oct 7 13:26:50 UTC 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
> http://lists.centos.org/mailman/listinfo/centos
I was able to add the following to snmptrad.conf and the source address 
stays:

format1 '%B [%b]: Trap %#v\n
format2 '%B [%b]: Trap %#v\n

Thanks,
James



More information about the CentOS mailing list