Re: [SOLVED] Re: lost udp packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux