Let's say I'm trying to connect to an IP address from my Mac laptop..but I want the Mac to reroute it to another IP address and port number. So, for example.. instead of my laptop connecting to 86.132.132.86 port 1338, it reroutes to 71.71.100.100 port 1338 (or perhaps another port). Now, if my stuff were connecting to an actual hostname (e.g. blah.com), I can just put that in /etc/hosts, but since it's using IP addresses, that won't work.
How can I do this?
How can I do this?