A
A
account-52017-03-27 23:58:12
linux
account-5, 2017-03-27 23:58:12

How to use VPS as ssh tunnel?

There is a VPS with Ubuntu.
I myself am not very experienced, but I raised OpenVPN there.
Now I want to learn how to do the same using the ssh tunnel. And then I ran into a problem, because. I can not find a clear tutorial for my tasks.
How to tunnel and encrypt all traffic from my work PC through a VPS? They say it's easy, but I can't find the answer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2017-03-28
@account-5

ssh [email protected] -D
-D creates a socks proxy on the specified port. Further, in the browser, for example, you can set the proxy type to 127.0.0.1:
However, it is worth remembering that not all browser requests can go through a proxy. I remember chrome makes dns requests ignoring proxy settings.

M
marataziat, 2017-07-23
@marataziat

There is a cool article on Habré about it :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question