Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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