1
0
I have a local app which code I do not own and tries to directly connect to some IP, let's say 123.45.67.890
. For testing purposes, I would like to re-route that connection to somewhere else, another completely different IP, and hex-editing the IP in the file is not an option. How would I go about this? I can't edit the hosts file and have an effect, because there's no DNS request being performed. Solutions preferably on Windows, but I can also do it under Linux.
And if you need to actually forward to a different host, you can combine this with a TCP proxy running on your local machine. – Zoredache – 2013-12-27T01:59:24.013
Hm the fact is I needed to sniff the packets using Wireshark/Netmon, and they won't sniff on the loopback interface on windows. – Délisson Junio – 2013-12-27T02:17:10.690