Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In linux, say that your company firewall prevents you from accessing site "test.com", but you have ssh access to a machine called "remote1" (in your ssh config file). How do you setup port forwarding such that you can access test.com, via your local port 9000 (i.e. by browsing to http://localhost:9000)?
Answer

ssh -L 9000:test.com:80 remote1

^^ -L is for Local port forwarding


Question
In linux, say that your company firewall prevents you from accessing site "test.com", but you have ssh access to a machine called "remote1" (in your ssh config file). How do you setup port forwarding such that you can access test.com, via your local port 9000 (i.e. by browsing to http://localhost:9000)?
Answer
?

Question
In linux, say that your company firewall prevents you from accessing site "test.com", but you have ssh access to a machine called "remote1" (in your ssh config file). How do you setup port forwarding such that you can access test.com, via your local port 9000 (i.e. by browsing to http://localhost:9000)?
Answer

ssh -L 9000:test.com:80 remote1

^^ -L is for Local port forwarding

If you want to change selection, open document below and click on "Move attachment"

SSH Tunnel - Local and Remote Port Forwarding Explained With Examples - Trackets Blog
understand these is by an example, let’s start with local port forwarding. Imagine you’re on a private network which doesn’t allow connections to a specific server. Let’s say you’re at work and <span>imgur.com is being blocked. To get around this we can create a tunnel through a server which isn’t on our network and thus can access Imgur. $ ssh -L 9000:imgur.com:80 user@example.com The key he

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.