G
G
Gadabio2019-05-05 17:42:10
VPN
Gadabio, 2019-05-05 17:42:10

I can't install 3proxy, privoxy and OpenVPN on OpenVZ VPS, what other ways can I configure it as a proxy or VPN?

I rented a VPS for a small amount for web surfing on blocked resources here: https://mrvm.net/natvps/ (far left). I thought that it would only work for web surfing, besides, it directly states that such a server can be used for VPN.

I tried to install a proxy, VPN on this VPS - so far everything has been unsuccessful due to various errors:

3proxy:

[email protected]*****:~/3proxy# wget http://www.3proxy.ru/0.8.12/3proxy-0.8.12.tgz
--2019-05-05 08:25:27--  http://www.3proxy.ru/0.8.12/3proxy-0.8.12.tgz
Resolving www.3proxy.ru (www.3proxy.ru)... 2606:4700:30::6818:74d0, 2606:4700:30::6818:75d0, 104.24.117.208, ...
Connecting to www.3proxy.ru (www.3proxy.ru)|2606:4700:30::6818:74d0|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.3proxy.ru/0.8.12/3proxy-0.8.12.tgz [following]
--2019-05-05 08:25:27--  https://www.3proxy.ru/0.8.12/3proxy-0.8.12.tgz
Connecting to www.3proxy.ru (www.3proxy.ru)|2606:4700:30::6818:74d0|:443... connected.
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection.


privoxy:
[email protected]*****:~# apt-get install privoxy
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package privoxy


When installing OpenVPN, I had to disable certificate verification - I got an error:
[email protected]*****:~# wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
--2019-05-05 09:02:58--  https://git.io/vpn
Resolving git.io (git.io)... 34.196.237.103, 52.72.245.79, 52.203.53.176, ...
Connecting to git.io (git.io)|34.196.237.103|:443... connected.
ERROR: The certificate of `git.io' is not trusted.
ERROR: The certificate of `git.io' hasn't got a known issuer.


An attempt to install a certificate did not complete successfully:
[email protected]*****:~# apt-get install ca-certificates
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package ca-certificates


Installing OpenVPN without checking certificates started, but ended again with errors, for example, some of them:
Err http://ftp.debian.org wheezy/main i386 Packages                  
  404  Not Found [IP: 2001:67c:2564:a119::148:12 80]
W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/contrib/binary-i386/Packages  404  Not Found [IP: 2001:67c:2564:a119::148:12 80]
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package openvpn
E: Unable to locate package openssl
E: Unable to locate package ca-certificates
openvpn-install.sh: line 229: curl: command not found


It also failed to create and configure swap, this is prohibited in the kernel. I read reviews for this hosting: hosting101.ru/mrvm.net - everything worked well for one person, what other ways can I create a proxy or VPN on this server? So far I have found a guide using PPPTP: https://anikin.pw/all/ustanovka-pptp-vpn-servera-n... , but have not yet tested it in operation.
In the VPS settings, I turned on everything that was disabled, including TuN / TaP, I read that it is needed for VPN. 5ccef555bf1fa518586369.png

I already realized that everything would be easier and better on a more expensive VPS without OpenVZ, but before looking for another server, I would like to try to configure the current one.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
fara_ib, 2019-05-05
@Gadabio

Why complicate things so much. Read up on dynamic SSH tunneling and add a foxy proxy add-on to your browser. And you don't need to put anything on your vps at all. Just Putty and a browser add-on.

V
ValdikSS, 2019-05-06
@ValdikSS

apt update; apt upgradedo.

S
SubGANs, 2019-05-05
@SubGANs

To prevent wget from checking the certificate, use the switch - --no-check-certificate.
When installing openvpn, are you using debian7 by any chance? If it is, then you don’t need to use outdated axes, put something newer, since deb7 turnips are already disabled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question