On OS X 10.6 you do not have iptables
, so what is the full solution for this permanently redirect all request sent to port 80 to another port, like 8080?
It has to be persistent.
On OS X 10.6 you do not have iptables
, so what is the full solution for this permanently redirect all request sent to port 80 to another port, like 8080?
It has to be persistent.
Use ipfw(read http://discussions.info.apple.com/message.jspa?messageID=10945451 http://discussions.apple.com/thread.jspa?messageID=10996939�)
or http://www.hanynet.com/waterroof/
Use ipfw as in @bindbn's answer. That's the general idea.
Persistence:
put your rules into a file :
add at the very top of your file
Ensure that there are not leading or trailing whitespaces in any line.
add to /Library/LaunchDaemons/com.yourdomain.ipfw.plist :
Either reboot, or
the first time.
After that it is