I am trying to connect to internet via a server in local network. I don't have permissions to change server configuration.
I want to do a ssh tunnel to that server and via that using socks proxy, I want to use internet.
When I try using:
ssh -D 2222 user@server
and setting socks proxy accordingly in firefox, and opening google.com in firefox shows:
channel 3: open failed: administratively prohibited: open failed
several times for each request.
I googled it, tried many solutions, but I am not able to get it working. It may have happened that because of being new, I have not applied the solution properly.
I can ssh into the server easily and everything works fine.
I have seen other questions that this question is possible duplicate of. I am not able to resolve my problem from the answers to those questions
Some additional questions,
The port 2222 is on my localhost. I don't need permission on server to open the port 2222. It creates tunnel via ssh (port 22). Is my understanding wrong?
If not, why would I need access to server admin?
I had the same problem as the OP and I found out that the problem was that in the Chrome proxy setting I had forgot to put "127.0.0.1" in the "Exceptions" field.
– Luca Citi Nov 27 '16 at 19:35