Skip to content
Baisalbek Daniiarov edited this page Oct 12, 2019 · 2 revisions

logo

VPN

Privatium https://t.me/xbaysal11 Privatium Github Privatium


1. Complete droplet section.

Droplet Creating Documentation

2. Enable traffic from outside in GCP

Go to 'VPC Network' > 'Firewall rules' > 'Create Firewall rule':

Name: vpn
Targets: All instances in the network
Source IP ranges: 0.0.0.0/0
Protocols and ports: udp:1194

and Save.

3. Go to VM instances and start VM console

sudo su
apt install wget
wget https://gitcdn.link/repo/xbaysal11/privatium/master/vpn/openvpn-install.sh
sudo bash openvpn-install.sh
IP address: <IPv4 address of network>  // just press enter
Public IP address / hostname: <your public IP of VM> //Write public IP of VM and press enter
Protocol: 1 // Write 1 and press enter
Port: 1194 //write 1194 and press enter
DNS: 2 // Write 2 and press enter
Client name: <your name> // Write your name and press enter
// Press any key to continue

4. Download VPN.

cd /home
ls

Download file yourName.ovpn to your local machine

5. Usage.

On local machine

sudo apt install openvpn
sudo openvpn --config <yourName>.ovpn


SPONSORS [Become a sponsor]

https://t.me/xbaysal11

LICENSE

Privatium is GPL licensed.