Skip to content

alfabaria/private-vpn

Repository files navigation

private-vpn

Automation script for installing vpn service on ubuntu server.

How to use

Install and setup new VPN

*execute below command from your local machine

ssh root@<YOUR_VPN_SERVER> "sudo apt-get update; sudo apt install net-tools; sudo -u wget https://raw.githubusercontent.com/alfabaria/private-vpn/main/ikev2-server-deploy.sh -O ikev2-server-deploy.sh; wget https://raw.githubusercontent.com/alfabaria/private-vpn/main/add_vpn_user.sh -O add_vpn_user.sh; sudo chmod +x ikev2-server-deploy.sh; chmod +x add_vpn_user.sh; sudo sh ikev2-server-deploy.sh <VPN_USERNAME> <VPN_PASSWORD>;"

Add or update vpn user

*execute below command from your remote machine

sudo sh add_vpn_user.sh

Variable

<YOUR_VPS_SERVER> : Replace with your VPS ip
<VPN_USERNAME> : Replace with VPN username you want to use (default leave it blank)
<VPN_PASSWORD> : Replace with VPN password you want to use (default leave it blank)

proxy-server

Automation script for installing squid proxy service on ubuntu server.

How to use

Install and setup new Proxy

*execute below command from your local machine

ssh root@<YOUR_VPS_SERVER> "sudo apt-get update; sudo apt install net-tools; sudo wget https://raw.githubusercontent.com/alfabaria/private-vpn/main/install-proxy.sh -O install-proxy.sh; sudo chmod +x install-proxy.sh; sudo sh install-proxy.sh <PROXY_USERNAME> <PROXY_PASSWORD>;"

Variable

<YOUR_VPS_SERVER> : Replace with your VPS ip
<PROXY_USERNAME> : Replace with Proxy username you want to use
<PROXY_PASSWORD> : Replace with Proxy password you want to use

proxy-sock5

Automation script for installing dante proxy sock5 service on ubuntu server.

How to use

Install and setup new Proxy

*execute below command from your local machine

ssh root@<YOUR_VPS_SERVER> -t "sudo apt-get update; sudo apt install net-tools; sudo apt install gobjc++; sudo wget https://raw.githubusercontent.com/alfabaria/private-vpn/main/dante_setup.sh -O dante_setup.sh; sudo chmod +x dante_setup.sh; sudo bash dante_setup.sh;"

Variable

<YOUR_VPS_SERVER> : Replace with your VPS ip

About

Automation script for installing vpn service on ubuntu server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages