FIRST STEP
First we need to determine the hosting, you can use absolutely any Ubuntu host, the main thing that the speed was
(https://duckduckgo.com/?q=vps)
SECOND STEP
On each hosting is different, but everywhere there is web access to the terminal server, without third-party programs SSH, you can use them.
In the terminal, enter the command
THIRD STEP
You will need to create an openvpn config
(https://duckduckgo.com/?q=how+to+create+openvpn+config)
At the end you will receive a message with all your own VPN server data. Make sure to save this data
That's it, your VPN is up and running
Enabling your VPN on PHONE/PC
Example of how to connect on an Iphone:
First we need to determine the hosting, you can use absolutely any Ubuntu host, the main thing that the speed was
(https://duckduckgo.com/?q=vps)
SECOND STEP
On each hosting is different, but everywhere there is web access to the terminal server, without third-party programs SSH, you can use them.
In the terminal, enter the command
Code:
wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh
THIRD STEP
You will need to create an openvpn config
(https://duckduckgo.com/?q=how+to+create+openvpn+config)
At the end you will receive a message with all your own VPN server data. Make sure to save this data
That's it, your VPN is up and running
Enabling your VPN on PHONE/PC
Example of how to connect on an Iphone:
Turn on your VPN on iPhone
In order for your iPhone to have a settings item with VPN, install any mobile VPN application from the App Store. You will only need it to activate the menu item.
After installing the VPN app, open Settings -> VPN and after creating your own VPN, enter the following details.
Name: Any name for the VPN you decide.
Type: IPsec Xauth PSK (or IPsec)
Server address: Here is the IP address of your cloud server.
IPSec Identifier: leave blank
IPSec Shared Key: specify the IPsec PSK password from the terminal.
User name: Username from the terminal (usually vpnuser)
Password