1

Is there anything that can forward/redirect all incoming traffic to another ip. Basically I'm looking the windows equivalent of ip forwarding in linux.

echo "1" > /proc/sys/net/ipv4/ip_foward 

3 Answers 3

3

The direct equivalent is a registry setting. It varies on different versions of Windows but on XP it's:

HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\IPEnableRouter

See this list

2

I wrote an article on Codeproject about redirecting traffic to another address, you specify the source ip address and port, the destination ip address and port and the traffic gets redirected...written in C# .NET.

Hope this helps, Best regards, Tom.

-1

Perhaps Internet Connection Sharing?

You must log in to answer this question.