Route specific traffic through different NIC
Hi I want to route outbound traffic on port 3391 through my wireless card instead of my wired connection. Is this possible? Or can I specify traffic for an external IP to go through the wireless NIC?
Jamie Fisher
July 6th, 2011 2:43pm
AFAIK you can only do that when the wirelesss NIC is on a separate subnet with the shortest route to the system you are trying to reach over port 3391.
Windows has no option to tell that outbound traffic to a specific port must go through a defined NIC.
Ray - Author of Windows 7 for XP Professionals
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 1:01am
What about specific IP address?Jamie Fisher
July 7th, 2011 2:27pm
Yeah, ports don't really come into it when you're looking at routing, but you can definitely tell Windows to route traffic to a particular IP through a particular interface.
Open up a command prompt and check out the route command... you'll end up with something like this:
route -p ADD <Destination> MASK 255.255.255.255 <Gateway> METRIC <Cost> IF <Wireless Interface>
Where:
Destination = The IP address you're trying to get to. Gateway = The gateway needed to get to the destination, this can be your own IP if you're on the same subnet.
Cost = A number that helps Windows compare routes to the same address (lowest cost wins).
Wireless Interface = The interface number of your wireless adapter (you can see this in the output of "route print")
Good luck.
- Jason
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 3:13pm