Coder Social home page Coder Social logo

digitaloceanvpn's Introduction

AutoInstallVPN

Turn the droplet on DigitalOcean or Linode into a VPN server

How to use:

  1. Create a VPS on DigitalOcean or Linode
  2. Select "Ubuntu 10.04 x64" in distributions
  3. [optional] Add SSH Keys when creating the droplet
  4. login to VPS
  5. run bellow script
# download scirpt
wget https://github.com/hunterzhang86/DigitalOceanVPN/archive/master.zip
# Extract the compressed file
apt-get install unzip
unzip master.zip
cd DigitalOceanVPN-master
# run the script
sh ./autoInstallVPN.sh

===================

对于**用户

此脚本用于在DigitalOcean或者Linode的服务器上自动创建VPN服务从而实现自动翻墙。

DigitalOcean的最低服务器费用为$5/月 ,而Linode的最低服务器费用为$10/月。

使用方法:

  1. DigitalOcean 或者 Linode上注册(自动获得10美元)并且创建一个Droplet(服务器)
  2. 选择镜像系统为"Ubuntu 10.04 x64"
  3. [推荐,但不必须] 在创建Droplet时添加SSH Keys
  4. 登录VPS
  5. 依次执行以下脚本
# 下载脚本
wget https://github.com/hunterzhang86/DigitalOceanVPN/archive/master.zip
# 解压压缩文件
apt-get install unzip
unzip master.zip
cd DigitalOceanVPN-master
# 执行autoInstallVPN.sh
sh ./autoInstallVPN.sh
  • 注意,您也可以修改脚本中的以下命令设置VPN的用户名和密码。
echo "用户名 pptpd   密码  *" >> /etc/ppp/chap-secrets

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.