problem with adding a portproxy using netsh

  • Thread starter Thread starter Joe_Gallagher
  • Start date Start date
J

Joe_Gallagher

Guest
Hi,

I'm pretty inexperienced when it comes to network administration but need to learn more about it for a upcoming project, I'm currently just trying to get my head around how to use the netsh command to redirect tcp traffic that goes through my server, to start with something simple I created a amazon ami with a clean install of 2008 Server and installed iis then tried to create a rule that forwarded traffic from port 9000 to port 80 so I could test it was working by accessing a website on http://127.0.0.1:9000/. I entered the command:



netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=9000 connectaddress=127.0.0.1 connectport=80



And it appeared to work, doing a "netsh interface portproxy show all" gave me:





Address Port Address Port

--------------- ---------- --------------- ----------

127.0.0.1 9000 127.0.0.1 80





But when I try to access http://127.0.0.1:9000/ I get "Internet Explorer cannot display the webpage", without the port the default IIS page is displayed fine



I'm sure I'm missing something pretty simple but couldnt find anything on google to find out what so if anyone can help with this it would be really appreciated

Continue reading...
 
Back
Top