1

I have a PC A behind proxy server S. A can use the internet with browser + proxy login, or terminal + export http command.

Now I have another PC B that's connected to A. How can I access A's internet from another PC B, provided I can ssh between A and B?

Edit: In this question (469582), what I understand is that the PC (A) is directly connected to internet. In my case, however, A has to login to another proxy server S before it can use internet. Can I make a tunnel for this?

  • @muru [SOCKS proxy to SSH server behind HTTP proxy](https://askubuntu.com/questions/589851/socks-proxy-to-ssh-server-behind-http-proxy) does the trick. – Asu Karaman Aug 14 '18 at 00:32

1 Answers1

1

Open a socks proxy from B:

ssh -D 1080 -f -q -N user@A

Tell your browser to use it:

enter image description here

pLumo
  • 26,204
  • 2
  • 57
  • 87