Answer the question
In order to leave comments, you need to log in
Creating a proxy from VPS. A couple of newbie questions?
For safe surfing through public Wi-Fi, and to bypass the regional restrictions of various sites, the idea has arisen to make a proxy server on vps with a foreign ip. I have never done this, now I smoke all sorts of mana, in connection with this, several questions arose that I want to clarify for myself.
1. About the scheme of work. I think so - I install openvpn on the server, connect from my computer there, configure the routing so that the default gateway is VPS, on which I turn on NAT in the firewall, open access from the outside to some ports on my computer, etc. All traffic goes through the encrypted VPN connection to my server and then to the Internet. I sit satisfied in any cafe and do not worry about my passwords.
But if the connection is suddenly interrupted, will the traffic bypass the VPN through an unencrypted channel? How to avoid it?
2. In which case, you can raise the proxy via ssh (for example, as here - habrahabr.ru/blogs/internet/116214/ ), and then the main heavy traffic (torrents, etc.) goes through a regular connection, and at that time I I change the proxy address in the browser and visit sites through vps.
Everything seems to be logical, but if you notice problems with logic, write, I will be grateful.
and 3. Which foreign provider would you recommend that normally accepts such use of its server, charges little money for its services and, preferably, does not require a million scans of passports, credit cards, apartment bills, etc. I'm not going to break the law, but excessive bureaucracy and curiosity about one's person is unpleasant.
Answer the question
In order to leave comments, you need to log in
Monsieur, you are a pervert.
1a, 2a) aptitude install privoxy
1b, 2b) forward port 3128 from the virtual machine's localhost to our localhost. Specify in the browser. Yuzaem. You can even make it transparent so that you do not need to specify it in the browser. We rejoice.
3) — ya ^_^ But seriously — then hetzner. Just don't download torrents.
Buy vps based on xen technology, in openvz and virtuoso problems in tunnel interfaces.
I am using this recipe . For all time got out only one reef .
But if the connection is suddenly interrupted, will the traffic bypass the VPN through an unencrypted channel? How to avoid it?If only the connection is interrupted, and the VPN client, the corresponding interface and the routes assigned to it remain, then the traffic will not go anywhere. If to lower the virtual interface, then goes.
In which case, you can raise the proxy via sshFor a while, I did this, despite the configured VPN. (not like in the topic, just dynamic forwarding) Then I realized that in addition to the browser, there is an email client and other little needs (no torrents). And my 3G provider's DNS is disgusting. And switched to VPN.
Look here about foreign budget vps: http://cheap-hosting.rf/ the cheapest for 150 rubles for anonymization is enough for the eyes. They do not require passports or anything else, just indicate the card for payment.
it's easier to deploy a PPTP (Point-to-Point Tunneling Protocol) VPN server on your VPS. Step by step instructions here: https://habrahabr.ru/company/ruvds/blog/282996/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question