SSH is widely used by network administrators for managing systems and applications remotely, allowing them to log in to another computer over a network, execute commands and move files from one computer to another.
You Can Use your VPS Server to passing all the traffic of your pc to outside world through your Virtual Private Server if you new to SSH Please take A look of Basics of SSH
SSH Provides you simple command to Start Proxy Server which is
ssh [-D [bind_address:]port] -i identity-file [email protected]
Where -D Specifies a local “dynamic” application-level port forwarding. This works by allocating a socket to listen to port on the local side, optionally bound to the specified bind_address. Whenever a connection is made to this port, the con-nection is forwarded over the secure channel, and the application protocol is then used to determine where to connect to from the remote machine. Currently the SOCKS4 and SOCKS5 protocols are supported, and ssh will act as a SOCKS server. Only root can forward privileged ports. Dynamic port forwardings can also be specified in the configuration file.
Basic Example Can be
ssh -D 8080 [email protected]
or if you have to use identity-File Simply put
ssh -D 8080 -i identity-file [email protected]
This Will Open a socket at 127.0.0.1:8080 now you can use this proxy and specify in your system settings or if you want to use this only in specific application
If you Having Problems or you don’t want to get into the hassle you can use sshuttle a utility to manage VPN’s to you server using ssh take a look at usage here https://sshuttle.readthedocs.io/en/stable/