From my local machine from home, I can not access this site. But I can ssh to my work machine and from there ssh to this machine hosting this site. Is there a way to do this ssh hopping to change IP address and be able to access this site from local machine?

I am using Mac.

link|improve this question

feedback

2 Answers

up vote 2 down vote accepted

Look up "SSH Port Forwarding" or "SSH Tunnelling"

link|improve this answer
feedback

ssh to the ssh server using:

 ssh -D8080 <server ip/name?

Then in your browser settings, use a SOCKS proxy, and set the IP address to 127.0.0.1 and the port to 8080.

This will use the remote server as a proxy server accessed across an ssh tunnel.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.