S
S
sgaponen2014-07-16 08:51:08
SNMP
sgaponen, 2014-07-16 08:51:08

Cloning UDP packets on Windows 7 and forwarding the copy to another host?

There is a program (server) on Windows 7 that listens on UDP port 162 (SNMP Traps v2c). Is it possible to clone a UDP packet using Windows 7, replace the header in the copy of the packet (specify the destination address of another host) and forward the packet so that another computer receives it. Thus, two computers receive SNMP Traps (i.e., the initial scheme with the first computer does not break).
Analog

iptables -A PREROUTING -t nat -p udp --dport 161 -j DNAT --to 10.0.0.2:161

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zorruch, 2014-07-18
@zorruch

iptables -A PREROUTING -t nat -p udp --dport 161 -j DNAT --to 10.0.0.2:161

And where did you get the idea that this is cloning?
Judging by the rule, this is just nat with the replacement of the receiving address. No package is copied here, but simply the package will go to the wrong place, but to 10.0.0.2:161
Accordingly, you need to look for something similar in Windows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question