X
X
Xrist1An2015-02-28 07:56:37
VPN
Xrist1An, 2015-02-28 07:56:37

How to connect to the Internet through your own server (VPN)?

Here I have a server in the middle of nowhere. How can I use it to surf the net? What should be done so that all traffic goes through it and, accordingly, my real ip is hidden? Where to put what, where to prescribe? What software?
I didn’t find an adequate manual on the points on the network ... though, maybe I don’t know how to search. I would appreciate a link if anyone knows.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2015-02-28
@Xrist1An

As an option, you can set up an L2TP server on the server (in principle, you can also use another technology, you just had to configure L2TP yourself), and on the machine with which you will go to the network, register the route: route -p add 0.0.0.0 mask 0.0.0.0 IP_VPN_SERVER metric 1 ( for windows), with a obviously lower metric than on the existing Internet gateway. Then all traffic will go along the route to the VPN server, and accordingly the external IP will become the external address of the VPN server.

S
Sergey, 2015-02-28
@edinorog

VPN priority is always higher than local connection. If the default routes allow you to surf the Internet through vpn, then you will surf.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question