i'm looking for a way to redirect traffic to an other ip on a certain port.
Been able to do this with iptables on linux and netsh on windows but in both cases the client gets the ip address of the "redirection" server. It kind of works as a proxy, which in don't want.
for example: client (1.1.1.1) > redirection server (2.2.2.2) > destination server (3.3.3.3) in my attempts stated above the client's visible ip on the destination server becomes the ip of the redirection server.
What i'm looking for is a way to "kick" the client to 3.3.3.3 via 2.2.2.2 so that 1.1.1.1 (the client's ip and connection itself) would be visible and no longer need the redirection server. Either on a windows or linux server.
UDP by the way. I need it to direct players in gameservers to backup servers in case 1 breaks down or is under an attack.
Anyone an idea?