This is an easy installation script to help you config these VPN protocols on your VPS.
- shadowsocks+obfs
- v2ray+vmess
- v2ray+vmess+ws
- trojan
- an external VPS (outside Iran)
- an internal VPS (Inside Iran)
- Debian 11 OR Ubuntu 20.04 as the OS of both VMs
A video guide on the usage can be found in youtube.
- Download or clone the project
- 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]>$
- 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