I'm trying to debug program that uses many ports (other than 80, 443) for retrieving data, and i want to create "redirector" that redirect all connections from (for example: example.com) to localhost.
Is that possible without directly hacking program? How to do that?