This is my situation:
Two computer under the same router, 192.168.1.101 and 192.168.1.102
this is what i like to do:
on 192.168.1.101, while accessing port 22 with localhost, it directs the traffic to 192.168.1.102 port 22.
in another word, i would like to forward whatever traffic from localhost to another local IP.
i tried trivalproxy, it redirects traffics from 127.0.0.1 to the other IP. but it still doesn't redirect LOCALHOST.
i know this is a weird request, but this is the only way can solve my problem.