Linux Tunnel
Mainly for reference, but could be helpful to others too:
ssh -f -2 user@123.456.7.89 -p 22 -i /home/user/private_key.ssh -L 9876:10.0.0.99:80 -N
I'm using this command to tunnel through a VM to an otherwise off limits live server. I'm using port 80 so apache or equivalent needs to be stopped on the VM.
Written by Martin Downton
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ssh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#