snmptrapd can't forward the received traps to a different port on the same host -
i attempting configure snmptrapd trap forwarding.with current configuration, snmptrapd receiving , logging incoming traps, it not appear forwarding them. contents of snmptrapd.conf file follows: disableauthorization yes traphandle default /usr/sbin/snmptthandler authcommunity log public forward default 127.0.0.1:1062 when run snmptrapd follows: snmptrapd -f -le -d i can see traps being received follow result, received 67 byte packet udp: [191.50.2.21]49801->[191.50.3.75]:162 0000: 30 41 02 01 00 04 08 54 4e 50 49 47 50 29 2a a4 0a.....uspigp)*. 0016: 32 06 08 2b 06 01 06 03 01 01 05 40 04 c0 a8 06 2..+.......@.... 0032: 0c 02 01 04 02 01 00 43 04 3d f3 fc 72 30 14 30 .......c.=..r0.0 0048: 12 06 0a 2b 06 01 04 01 09 02 01 05 00 40 04 b9 ...+.........@.. 0064: 5e 6f 01 when send test trap localhost, sending 96 bytes udp: [127.0.0.1]:1062->[0.0.0.0]:0 0000: 30 5e 02 01 00 04 06 70 75 62 6c 69 63 a4 51 06 0^.....public.q. 0016: 09 ...