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?

marked as duplicate by RoVo, muru, karel, Fabby, Eric Carvalho Aug 14 '18 at 9:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

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