GithubHelp home page GithubHelp logo

kh0inv / openvpn-install Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nyr/openvpn-install

0.0 0.0 0.0 174 KB

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora

License: MIT License

Shell 100.00%

openvpn-install's Introduction

Installation

sudo apt update -y
wget https://git.io/vpn -O openvpn-ubuntu-install.sh
chmod -v +x openvpn-ubuntu-install.sh
bash openvpn-ubuntu-install.sh

Public IPv4 address / hostname:

=> Enter public ip of instances

Which protocol should OpenVPN use?

  1. UDP (recommended)
  2. TCP

=> UDP is faster

What port should OpenVPN listen to?

=> default port 1194

Select a DNS server for the clients:

  1. Current system resolvers
  2. Google
  3. 1.1.1.1
  4. OpenDNS
  5. Quad9
  6. AdGuard

=> whatever! chọn gì cũng đc

Enter a name for the first client:

=> az-tech

The client configuration is available in: /root/az-tech.ovpn

Check status of openvpn server

systemctl status [email protected]

Download configuration file

Open port on firewall or security groups

  • TCP 8000
  • UDP 1194

Run command

cd /root && python3 -m http.server

Open web browser, access url: public ip of instances:8000

Click to download file

openvpn-install's People

Contributors

nyr avatar kh0inv avatar valdikss avatar hcartiaux avatar kcchouette avatar redorkulated avatar sorcun avatar peterdavehello avatar iprodigy avatar tpwo avatar hhktony avatar angrysnarl avatar randshell 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.