Link to home
Start Free TrialLog in
Avatar of weblocked
weblocked

asked on

Port Redirection on Windows Server 2008

I would like to redirect all requests sent to Server A on port 110, 1433, 25, etc to be redirected to Server B. I believe Windows has a built in method for this via command line, but nothing I am trying is working. Does anyone have a working example to redirect a port?

Thank you.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

this can be done at the router but not at the server, AFAIK

guessing this has https://www.experts-exchange.com/questions/27858248/Redirecting-IPs-on-Windows-Server-2008.html?anchorAnswerId=38380339#a38380339 in common
Avatar of weblocked
weblocked

ASKER

It looks possible at the server level. This guy made free opensource software to do this:
http://www.quantumg.net/portforward.php

But its not reliable, it crashes often. But he says he does it simply, unfortunately I'm not familiar enough with source code to figure out the commands he used to make this.
Tested it and it seems to work.. I could not compile the source into a working binary on my machine though.  I downloaded the binary (both the old and the new) both would redirect fine locally but not external to my network.. I tried google.com 74.125.226.37 as the destination
ASKER CERTIFIED SOLUTION
Avatar of d_nedelchev
d_nedelchev
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
-- no points --  d_nedelchev's second link works

Tried passport and it didn't even work for local redirects.
The netsh route did work.. both locally and externally

http://technet.microsoft.com/en-us/library/cc776297%28WS.10%29.aspx#BKMK_1