GithubHelp home page GithubHelp logo

openvpn's Introduction

openvpn 2.4.9

Usage

Server

First, clone repo and make the script openvpn-install.sh executable:

git clone https://github.com/jackey525/openvpn.git
chmod +x openvpn-install.sh

Then run it:

./openvpn-install.sh

client

When OpenVPN is installed, you can make a client.ovpn to connect server(fill remoteIP to yours.)
and get ca.crt from server (/etc/openvpn/) and save it near to client.ovpn

$ vi client.ovpn

client
dev tun
proto udp               # protocol
remote remoteIP 1194    # set ip and port
resolv-retry infinite   
nobind
persist-key
persist-tun
ca ca.crt               # ca (path to cert)
verb 5
auth-user-pass          # use user/pass method to login

=============== Some vpn client as below ===============

Windows:

On Windows, you will need the official OpenVPN Community Edition binaries which come with a GUI. 

Place your .ovpn configuration file into the proper directory, C:\Program Files\OpenVPN\config, 
and click Connect in the GUI. OpenVPN GUI on Windows must be executed with administrative privileges.

macOS:

On macOS, the open source application Tunnelblick provides an interface similar to the OpenVPN GUI on Windows, 
and comes with OpenVPN and the required TUN/TAP drivers. 

As with Windows, the only step required is to place your .ovpn configuration file into 
the ~/Library/Application Support/Tunnelblick/Configurations directory. 

Alternatively, you can double-click on your .ovpn file.

Linux:

On Linux, you should install OpenVPN from your distribution’s official repositories. 

You can then invoke OpenVPN by executing:

$ sudo openvpn --config ~/path/to/client.ovpn

=============== description ===============

checkpsw.sh        #  login script
psw-file           #  user password file 
auto_gen_user.sh   #  auto 10 passwords that are generated with 10 digits

openvpn's People

Contributors

jackey525 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.