Giter VIP home page Giter VIP logo

climbthewall-vpn-'s Introduction

Create Your Own VPN

Going back to China without a solid VPN is a nightmare. Tons of VPN's get banned in China, and the rest of them charges like crazy. Why don't you have your own personal private VPN?

To set up your own VPN, you NEED to have accounts for GCP or AWS .

I strongly encourage you to apply for a new account if you DO NOT have an account already. GCP gives you $300(+$54)credit, and AWS allows you to use Cloud service 1 year for free (some restrictions may apply). They are pretty much same.

The AWS free tier offers a 750 hours/month running time for all running VM instance(s). If all VM instances running time goes over 750 hours, extra fees will be charged. E.g. I kept a Ubuntu instance and a Centos instance running on AWS for a whole month. 2(instances) * 24(hour/day) * 31(day/month) = 1488 hrs. 1488 > 750, I paid an extra.

Image of equation n = days in calendar month, alpha beta and gamma are daily average running time for each instance. If you are in free tire, you can only have ONE instance running 24/7. 1 * 24 * 31 = 744 hrs.

So keep it in mind, never have two or more than two instances keep running 24/7 unless you are Bruce Wayne.

Its all up to you to choose between Google Cloud Platform and Amazon Web Service. Personal speaking, I prefer GCP over AWS because of GCP's nicer UI. One thing worth mentioning is that you need to be aware of your GCP credit. Setting up a budget alert can prevent you from bankrupcy.

GCP:

  • Log into GCP, Click on "Compute Engine" -> "VM instances" -> "Create"

Create Instance

You may need create your own project so that you could create a vm instance.

createInstance

Set up Firewall

SetUpFirewall

Create Firewall Rules

FirewallRules

Create Rules For Ingress and Egress

Ingress:

Ingress

Egress:

Egress

Use default VM instance for saving money(roughly $20/month).

AWS cloudformation does not support VPN

climbthewall-vpn-'s People

Contributors

shanerbo avatar awildotto avatar

Watchers

James Cloos avatar

Forkers

jiaran98

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.