How to create my own VPN for using in Iran - emohandesi/vpn GitHub Wiki
The following shows the steps an amateur person could take to create a VPN server that could be used by the Iranians to connect to the free internet in Iran.
-
You need to procure a virtual private server (VPS). There are plenty of websites out there. Here we use www.digitalocean.
a. Create an account on Digital Ocean.
b. Create a project in your Digital Ocean account.
c. Click on the Create button at the top-right corner of the webpage and choose Droplets.
d. Pick the following in the shown sections.
Region: any of them works
Choose an image: OS -> Ubuntu, Version -> The latest version in the combo box
Choose size: Droplet Type -> Basic, CPU Options -> Regular, and then the cheapest price which is $4/mo
Choose Authentication Method: Password, and then enter your password in the box below it
e. Click on the blue Create Droplet button in the lower right corner of the screen.
-
Your server will be ready in a few minutes.
-
Copy the IP address of your server.
-
Use a tool like Windows CMD to SSH to your server. To invoke CMD, press WinKey+r, then type cmd, and press Enter.
-
Type the following in CMD to connect to your server and enter your password when you are asked for it.
ssh root@YOUR_SERVER_IP
- The steps to run the command and create the VPN server are explained in the link below. Run the mentioned command to create the VPN server.
https://github.com/aleskxyz/reality-ezpz#quick-start
- Use the following instructions to connect to your VPN server and test it.