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@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