Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 0
Members Members: 0
Total Total: 0

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
 
  Forum  Microsoft Tech ...  Windows Server ...  Port Forwarding in Windows
Previous Previous
 
Next Disabled
New Post 7/24/2015 12:23 PM
Informative
  Walker
119 posts
www.lairdscomputer.com
10th Level Poster


Port Forwarding in Windows 

I was trying to forward port 7706 to port 3306 locally to make mysql respond on two ports.
In linux this would be done with iptables, and as it turns out its almost easier to do in Windows.

This requires ipv6 to be installed to work, but that has been true of windows since Vista.

To create a port forward:
netsh interface portproxy add v4tov4 listenport=7706 connectport=3306 connectaddress=1.1.1.1

Replacing 1.1.1.1 with a valid IP address on your machine.  I could not get 127.0.0.1 to work with this for some reason, it had to be a real ip.

To view the forwards you have set up:
netsh interface portproxy show all

To remove:
netsh interface portproxy delete v4tov4 listenport=7706
netsh interface portproxy reset

Walker

 
Previous Previous
 
Next Disabled
  Forum  Microsoft Tech ...  Windows Server ...  Port Forwarding in Windows
Send me One Million FREE Guaranteed Visitors