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




 
Subject How to forward port 80 to another port on MacOS X
Posted 9/15/2002; 10:26 PM by Clark Venable
Last Modified 9/15/2002; 10:26 PM by Clark Venable
In Response To (#Top of Thread.)
Label None. Read 3939
<Previous Next> 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

<Previous Next> Thread: Edit Reply
ENCLOSURES

None.
REPLIES

None.


 
© 2002 Macrobyte Resources. All rights reserved.