Howdy..

Scenario:
Client tries to connect to server "1.2.3.4:8080" via sockets, but I want it to connect to "localhost:8080" instead. My question is - is there a way to configure a firewall / router to redirect connections directed to certain host, to localhost? If not, are there other ways simpler than writing a system-wide sockets hook?

TIA