Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there any way to implement routing/forwarding based on information differ from an destination IP in the Windows environment ? I mean that in Linux using iptables/tc/iproute2 I can define a policy of choosing an outgoing interface for forwarding a traffic based on destination port, ToS/DSCP, time-of-day, rate any combination of various parameters etc.

Neither Winsock nor Routing Table Manager (RTMv2) APIs in Windows seem to provide similar flexibility

Any idea/direction/suggestion ? Thanks in advance

share|improve this question

migrated from stackoverflow.com Feb 10 '12 at 12:58

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

1 Answer 1

Check out netsh:

share|improve this answer
    
PowerShell should also work by means of WMI. –  0xC0000022L Feb 10 '12 at 14:26

Your Answer

 
discard

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