Giter Site home page Giter Site logo

vps's Introduction

VPS

Virtual private server related

Setup Simple PPTP VPN server for CentOS and Ubuntu

NOTE: PPTP VPN is considered insecure. Do not rely for this vpn if you need security. However, PPTP works out of the box on many operating systems, including many Linux distributions, Windows, Mac OS and Android and it's easily good enough for evading country level IP blocks.

CentOS-pptp-setup.sh has been tested on Vultr & Host1plus: CentOS 6 x86

Ubuntu-pptp-setup.sh has been tested on Vultr & Host1plus: Ubuntu14.04 x86

CentOS7-pptp-host1plus.sh is just for CentOS 7 on Host1plus & OpenVZ

INSTALLATION INSTRUCTIONS

CentOS

wget https://raw.githubusercontent.com/DanylZhang/VPS/master/CentOS-pptp-setup.sh
chmod +x ./CentOS-pptp-setup.sh
./CentOS-pptp-setup.sh -u your_username -p your_password

Ubuntu

wget https://raw.githubusercontent.com/DanylZhang/VPS/master/Ubuntu-pptp-setup.sh
sudo bash Ubuntu-pptp-setup.sh -u your_username -p your_password
service pptpd restart

or

CentOS 7

wget https://raw.githubusercontent.com/DanylZhang/VPS/master/CentOS7-pptp-host1plus.sh
chmod +x ./CentOS7-pptp-host1plus.sh
./CentOS7-pptp-host1plus.sh -u your_username -p your_password

Some notes

If your vpn password less than 8 characters,then give you a random password.

To add more accounts, see the file /etc/ppp/chap-secrets

If you keep the vpn server generated with this script on the internet for a long time (days or more), consider either restricting access to the ssh port on the server by ip addresses to the networks you use, if you know the addresses you are most likely to use or at least change ssh from port 22 to a random port.

You can also specify you own username and password, run ./CentOS-pptp-setup.sh -h or sudo bash Ubuntu-pptp-setup.sh -h for help.

vps's People

Contributors

danylzhang avatar

Stargazers

 avatar

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.