Hot answers tagged ssh-tunneling
Very high level overview: The -D option tells ssh to listen for connections on that port using the SOCKS protocol. You configure Firefox to connect to ssh and speak the SOCKS protocol. You type http://www.google.com into your browser. Firefox connects to that SOCKS port. SOCKS can do a bunch of things, but what we're interested in is this: Firefox asks the ...
When you visit a website (one that's not hindered by your corporate firewall) your browser sends a request to the server listed in the URL on port 80 (by default). For example, to visit this site our browsers communicate with port 80 of the server unix.stackexchange.com When you set your proxy settings you told your browser to send everything to localhost ...
Use the -g option with SSH and then configure firewall rules to only allow C to connect to the port. -g Allows remote hosts to connect to local forwarded ports. The command would then be: ssh -g -D 1235 a@A
Only top voted, non community-wiki answers of a minimum length are eligible