I need to receive a TCP packet destined to my application, then resend it to another destination on the local network, while keeping the Original IP Address.
How can it be done, or how difficult is it?
I am using simple sockets in Java, running on a Linux environment, and I might consider using C libraries in my code if that does the trick.
I know routers or firewalls intercept such TCP packets, I am guessing they don't change the source IP.