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

I received a request from one of our developers that I am having trouble solving.

Here in the office they use linux desktops and I can forward the localhost:80 via a iptables nat to localhost:8080. What they want is the same thing at home in windows 7.

I got what I think are two ways of going about this. One to reconfigure the jboss webserver and all the webapps urls (messy). The other is find a way to redirect/nat the localhost port 8080 to port 80. Though in windows 7 I am unsure of how to do this.

Anyone have anyideas on how to do the second?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

AFAIK, Win7 has no iptables equivalent. Writing a server that does what you want (listens on a port, copies everything to/from another) should be easy enough. You can find one at this URL: http://www.quantumg.net/portforward.php (untested). Using a reverse proxy (Google is yout friend) may fit the bill for http-like traffic. Also check this post: http://stackoverflow.com/questions/3721000/port-forwarding-on-windows-7

share|improve this answer
    
Doh, I feel like a dummy now, forgetting the term reverse proxy. As soon as I can up vote I will for you. –  bdavenport Jan 3 '12 at 14:53

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.