Giter Site home page Giter Site logo

longyinstudio / setup-simple-pptp-vpn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from viljoviitanen/setup-simple-pptp-vpn

0.0 0.0 0.0 29 KB

This is a very old repo, and a script that used to work years ago. Please find a newer vpn setup.

License: GNU General Public License v2.0

Shell 100.00%

setup-simple-pptp-vpn's Introduction

Setup Simple PPTP VPN server for Ubuntu and Debian

NOTE: PPTP VPN is considered insecure. Do not rely for this vpn if you need security. The security of the VPN can probably be cracked with any serious attacker. See http://en.wikipedia.org/wiki/Point-to-Point_Tunneling_Protocol#Security If you need security, consider using e.g. openvpn, you can setup a server easily with https://github.com/viljoviitanen/setup-simple-openvpn However, PPTP works out of the box on many operating systems, including many Linux distributions, MacOS, Windows and Android and it's easily good enough for evading country level IP blocks.

Script has been tested on Amazon EC2: Ubuntu Server 12.04.3 LTS

Digital Ocean: Ubuntu 12.04 LTS, Ubuntu 14.04 LTS, Debian 7 (Wheezy)

Rackspace: Ubuntu 12.04, Ubuntu 14.04

Copyright 2013-2014 Viljo Viitanen [email protected] and contributors. Licensed under GPL version 2 or any later version.

INSTALLATION INSTRUCTIONS

Amazon EC2

Allow the following through the firewall ("security group")

  • ICMP (all)
  • TCP port 22 (SSH)
  • TCP port 1723

See the screenshot of the rules from EC2 www console at https://github.com/viljoviitanen/setup-simple-pptp-vpn/wiki/Amazon-EC2-firewall-security-group-instructions

Common

wget https://raw.github.com/viljoviitanen/setup-simple-pptp-vpn/master/setup.sh
sudo sh setup.sh

Let the script run. Take note if the server external ip address detection is succesful.

Get your computer to use the VPN. Try googling for instructions, e.g. https://www.google.com/#q=setup+pptp+windows+8

Note: at least on Ubuntu Desktops and probably other Linuxes as well, you need to enable MPPE encryption from advanced settings!

Enjoy your very own (somewhat insecure) VPN!

Some notes

Clients are configured to use Google public dns servers when the vpn connection is active: https://developers.google.com/speed/public-dns/

Only one vpn account is generated. 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 sh setup.sh -h for help.

setup-simple-pptp-vpn's People

Contributors

dileep-p avatar melice avatar viljoviitanen 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.