Macrobyte Resources Conversant Developer Central
Internet groupware development platform
How to forward port 80 to another port on MacOS X




 

Topic: How to forward port 80 to another port on MacOS X

Shown in reverse chronological order.
Forward chronological order | Hierarchical outline view

Messages: 1 of 1.
Pages: 1
How to forward port 80 to another port on MacOS X (#372)
Posted: 9/15/2002; 10:26 PM by Clark Venable
Modified: 9/15/2002; 10:26 PM by Clark Venable
Response to: Top of Thread.
Edit | Reply
I didn't find the complete answer here and wound up digging through userland.portforward before also finding the answer ont he TLS pages. But for future reference, here's how to do it in a terminal session. I'll figure out how to do with with a shell script later (and repost):

1. in the terminal, type: sudo /usr/sbin/sysctl -w net.inet.ip.forwarding=1
2. authenticate when asked
3. type: sudo /sbin/ipfw add 102 fwd 127.0.0.1,8080 tcp from any to any 80 in

Clark

Messages: 1.
Pages: 1


 
© 2002 Macrobyte Resources. All rights reserved.