Giter Club home page Giter Club logo

nipovpn's Introduction

What is this?

This is an easy installation script to help you config these VPN protocols on your VPS.

shadowsocks+obfs
v2ray+vmess
v2ray+vmess+ws
trojan

Requirements

an external VPS (outside Iran)
an internal VPS (Inside Iran)
Debian 11 as the OS of both VMs

A video guide on the usage can be found in youtube.

How to Run

  1. Download or clone the project
  2. Go the the directory
[~/data/git/MortezaBashsiz/nipovpn/scripts]>$ ls -l
total 36
-rw-r--r-- 1 morteza morteza 1763 Nov  1 10:56 basic.sh
-rw-r--r-- 1 morteza morteza 1186 Oct 31 13:30 check.sh
-rw-r--r-- 1 morteza morteza 5037 Oct 31 14:52 external.sh
-rw-r--r-- 1 morteza morteza 2599 Oct 31 14:48 interaction.sh
-rw-r--r-- 1 morteza morteza 2867 Oct 31 14:41 internal.sh
-rw-r--r-- 1 morteza morteza  982 Nov  1 10:59 nipovpn.sh
-rw-r--r-- 1 morteza morteza 1334 Oct 31 11:54 pkg.sh
-rw-r--r-- 1 morteza morteza  447 Nov  1 11:14 README.md
[~/data/git/MortezaBashsiz/nipovpn/scripts]>$
  1. Execute the nipovpn.sh and answer the questions like following
[~/data/git/MortezaBashsiz/nipovpn/scripts]>$ bash nipovpn.sh 

>Welcome to nipovpn 
>Please answer to the following questions 
>Internal server IP address IP.IP.IP.IP
65.21.189.183
>SSH port for internal server 65.21.189.183 (default 22)
22
>Internal server port (default 443)
445
>External server IP address IP.IP.IP.IP
65.108.221.16
>SSH port for external server 65.108.221.16 (default 22)
22
>External server port (default 443)
445
>What kind of service would you like to use?
>These are the type of services which is supported by this script
>> shadowsocks+obfs
>> v2ray+vmess
>> v2ray+vmess+ws
>> trojan
>What kind of service would you like to use?(choose from list above)
v2ray+vmess
>Installing packages htop net-tools iptables-persistent vim fail2ban
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]

Video link in youtube

nipovpn's People

Contributors

hamifthi avatar mortezabashsiz 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.