How to make a port forward in Mac OS X
Problem
I'd like to make all incoming connections to port 1000 of my host (IP: 200.234.XXX.XXX) to be forward to the port 80 on host 10.211.55.5 How can I do it on my host? It is running Mac OS X 10.5.8
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to make a port forward in Mac OS X
Quite simple to do, Firstly you will need to enable the remote login service on your mac (System Preferences -> Sharing -> Remote Login). This starts your ssh server. Then run the following command in your OS X Terminal: You may need to accept the server fingerprint initially as well as type in your local password for ssh login. (You can also set up a local to local ssh public / private key to make it not prompt for a password, will leave that as an exercise for the reader.) The format is:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix