Skip to content

Personal OpenVPN script to manage users with time expiration and usage limit.

Notifications You must be signed in to change notification settings

ExtremeDot/ExDOT-OpenVPN-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

OpenVPN Server with usermanagment

This is a persoanl project and based on Angristan work

image


Install

bash -c "$(curl -H 'Cache-Control: no-cache' -L https://raw.githubusercontent.com/ExtremeDot/eXtremePanel/master/extPanel.sh )"
After installing you can execute "eXtPanel" command to run script.
eXtPanel
Route Script
bash -c "$(curl -H 'Cache-Control: no-cache' -L https://raw.githubusercontent.com/ExtremeDot/eXtremePanel/master/route.sh )"

Need Tunneling?

Tunneling Between Domestic and Non-Restricted Servers guides

-you can use below methods

https://github.com/Azumi67/FRP-Wireguard
https://github.com/Azumi67/Rathole_reverseTunnel
https://github.com/Azumi67/FRP_Reverse_Loadbalance
https://github.com/Azumi67/PrivateIP_TCP-UDP_Tunnel

Guides

REVERSE FRP KCP Tunnel GUIDE
Domestic VPS [RESTRICTED] as Server
apt install python3 -y && apt install wget -y && sudo apt install python3-pip &&  pip install colorama && pip install netifaces && apt install curl -y && python3 <(curl -Ls https://raw.githubusercontent.com/Azumi67/FRP_Reverse_Loadbalance/main/loadbalance.py --ipv4)

image

2. Installation
4. FRP KCP Tunnel

image

1. IRAN

image

Enter the local ports : 1194
Enter the remote ports : 1194
Enter KCP Port: 12348
Enter Loadbalance Port: 48321
    • lcoal ports and remote ports must be defined as the openvpn server on non-restricted vps server

International VPS [NON-RESTRICTED] - Open-VPN Server Installed VPS
apt install python3 -y && apt install wget -y && sudo apt install python3-pip &&  pip install colorama && pip install netifaces && apt install curl -y && python3 <(curl -Ls https://raw.githubusercontent.com/Azumi67/FRP_Reverse_Loadbalance/main/loadbalance.py --ipv4)
2. Installation
4. FRP KCP Tunnel
2. Kharej [1]
Enter the number of loadbalance groups [For each different port, there should be a group]: 1
Enter IRAN IPV4/IPv6 address:

Enter IRAN VPS ipv4 or IPV6 port.

Enter KCP port : 12348
Enter Loadbalance Port: 48321
Enter the starting v2ray and group number: 1
Enter the Local Port for Loadbalance Group 1: 1194
Enter the Remote Port for Loadbalance Group 1: 1194

now get the .ovpn config and change the server address to your domestic vps in ovpn file and run it.


Wireguard Warp

sudo systemctl enable wg-quick@ovpn_warp
sudo systemctl start wg-quick@ovpn_warp
sudo wg-quick up ovpn_warp
sudo wg-quick down ovpn_warp

Extra debugging commands
table=1000
ip route show table $table
/sbin/ip rule | grep $table
Display the current NAT
/sbin/iptables-save -t nat
Remove the default route for OpenVPn
sudo iptables -t nat -D POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

About

Personal OpenVPN script to manage users with time expiration and usage limit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages