Giter VIP home page Giter VIP logo

cuhk-department-vpn-ubuntu-14.04's Introduction

Introduction

This script is for connecting to the CUHK department VPN (currently support CSE / EE / IE) on Ubuntu 14.04.

For the first time connecting to VPN, please run:

sudo ./install.sh

The script will check and install the following packages:

  • strongswan
  • xl2tpd
  • ppp
  • isc-dhcp-client

The script will then help you to set the required config files, and also your department ID and password.

For each computer, you need to run the ./install.sh script once only.

To connect to the VPN, please run:

sudo ./vpn_connect.sh

To disconnect from the VPN, please run:

sudo ./vpn_disconnect.sh

Trouble-shooting

The scripts are incompatible to the scripts for connecting to CUHK VPN provided by ITSC.

If you have installed those scripts previously, you may find that you cannot connect to either CUHK VPN or CSE VPN using this script.

In this case, please run

sudo rm /etc/ipsec.conf

and then run install.sh again.

If the scripts fail in step "Connect to the VPN server", or get frozen in step "Change default route to ppp0", please check that you have input the correct password, or simply reinstall the scripts.

If you find that you cannot access to the internet after using the scripts, you may try:

sudo ip route add default via __GATEWAY__ dev __DEVICE__

with __GATEWAY__ and __DEVICE__ be replaced by the gateway and device respectively, which could be found in the step "Get default device and gateway".

Copyright

This scripts was originally proposed by nnkken for connecting CSE VPN.

cuhk-department-vpn-ubuntu-14.04's People

Contributors

bearpaw avatar billzhonggz avatar

Stargazers

 avatar

Watchers

 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.