Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 
share|improve this question

migrated from stackoverflow.com Feb 6 '10 at 23:45

This question came from our site for professional and enthusiast programmers.

3 Answers 3

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.