mefistowy
SERP Result Specialist
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
300 XP
Wassup people.
​I'm going to show you the easiest (not the best but pretty good) way to create your own VPN server with only a few bucks or maybe free for some time.
We're gonna need:
​ - A Virtual Private Server
​ - A program to connect over ssh. Example WinSCP
​ - An OpenVPN client.
First, we look for a VPS that is free or pretty cheap. I personally look for cheap ones in this https://lowendbox.com/
And this page for even cheaper: http://lowendspirit.com/
You don't need RAM at all. Indeed what you need is bandwidth depending on how you much youre going to use it and nothing else. Our VPN server would run smoothly in 64MB RAM.
Once you have bought your VPS, deploy it and install and operating system on it. Usually Debian 8 minimal will do the best.
​
​Now open https://www.putty.org/ or https://winscp.net/eng/download.php
​
​Place your IP address and connect to your brand new server.
​
​The first thing you want to do is to delete the services you are not going to use, so copy/paste these commands in your VPS:
​
​apt-get purge apache2* bind9* samba*
​
​Then we will update some packages if necessary
​
apt-get update
apt-get upgrade
​
​Now we are going to download from github the script that will install OpenVPN for us in the VPS:
​
wget https://git.io/vpn -O --no-check-certificate openvpn-install.sh && bash openvpn-install.sh
​It will prompt us for some information.
If you have a dedicated IP address, you will like it to push 'Enter' all the time. Put the name of your client and you will most likely have your <whateveryouwrote>.ovpn inside /root/ folder. You have now your VPN server up and running.
​We will use now WinSCP to download via FTP the configuration file to our Windows machine. Use it like Putty, just place your IP, root username and your root password. It will automatically open your /root/ folder.
​
​ So now go and Drag and Drop your .ovpn file to have it downloaded. You can download it to your phone also if you want to.
​
​We download the OpenVPN client. We will use a Windows and user-friendly one this time. Download from here: https://openvpn.net/index.php/open-source/downloads.html
Install the client. Once installed, all you have to do is to right-click on the OpenVPN tray icon, on Import File...
Select your .ovpn configuration file, then right-click again on OpenVPN tray or double-click on it to connect. Now check your IP address, it should be the VPS one instead of your home one
EDIT: Now you can use this fork that presumes to be safer, letting you choose what kind of encryption and such --> https://github.com/Angristan/OpenVPN-install
PD:Run this to go directly to the installation of the VPN server: ​apt-get purge apache2* bind9* samba* && apt-get update && apt-get upgrade -y && wget https://git.io/vpn -O --no-check-certificate openvpn-install.sh && bash openvpn-install.sh
​Have a good day. Leechers will be reported. Tell to me if you want me to show you how to change your DNS of your Computer / VPS to a more anonymous ones (nobody likes DNS leaks).
Edited by AceWoods, 17 December 2017 - 06:34 PM.
​I'm going to show you the easiest (not the best but pretty good) way to create your own VPN server with only a few bucks or maybe free for some time.
We're gonna need:
​ - A Virtual Private Server
​ - A program to connect over ssh. Example WinSCP
​ - An OpenVPN client.
First, we look for a VPS that is free or pretty cheap. I personally look for cheap ones in this https://lowendbox.com/
And this page for even cheaper: http://lowendspirit.com/
You don't need RAM at all. Indeed what you need is bandwidth depending on how you much youre going to use it and nothing else. Our VPN server would run smoothly in 64MB RAM.
Once you have bought your VPS, deploy it and install and operating system on it. Usually Debian 8 minimal will do the best.
​
​Now open https://www.putty.org/ or https://winscp.net/eng/download.php
​
​Place your IP address and connect to your brand new server.
​
​The first thing you want to do is to delete the services you are not going to use, so copy/paste these commands in your VPS:
​
​apt-get purge apache2* bind9* samba*
​
​Then we will update some packages if necessary
​
apt-get update
apt-get upgrade
​
​Now we are going to download from github the script that will install OpenVPN for us in the VPS:
​
wget https://git.io/vpn -O --no-check-certificate openvpn-install.sh && bash openvpn-install.sh
​It will prompt us for some information.
If you have a dedicated IP address, you will like it to push 'Enter' all the time. Put the name of your client and you will most likely have your <whateveryouwrote>.ovpn inside /root/ folder. You have now your VPN server up and running.
​We will use now WinSCP to download via FTP the configuration file to our Windows machine. Use it like Putty, just place your IP, root username and your root password. It will automatically open your /root/ folder.
​
​ So now go and Drag and Drop your .ovpn file to have it downloaded. You can download it to your phone also if you want to.
​
​We download the OpenVPN client. We will use a Windows and user-friendly one this time. Download from here: https://openvpn.net/index.php/open-source/downloads.html
Install the client. Once installed, all you have to do is to right-click on the OpenVPN tray icon, on Import File...
Select your .ovpn configuration file, then right-click again on OpenVPN tray or double-click on it to connect. Now check your IP address, it should be the VPS one instead of your home one
You must upgrade your account or reply in the thread to view hidden text.
PD:Run this to go directly to the installation of the VPN server: ​apt-get purge apache2* bind9* samba* && apt-get update && apt-get upgrade -y && wget https://git.io/vpn -O --no-check-certificate openvpn-install.sh && bash openvpn-install.sh
​Have a good day. Leechers will be reported. Tell to me if you want me to show you how to change your DNS of your Computer / VPS to a more anonymous ones (nobody likes DNS leaks).
Edited by AceWoods, 17 December 2017 - 06:34 PM.