Suppose the remote server ip is 6.6.6.6
project url: https://github.com/angristan/openvpn-install.git
1. openvpn server:
system: ubuntu 20
curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh
chmod +x openvpn-install.sh
./openvpn-install.sh
Run again ./openvpn-install.sh for user management
After generating the user file, add the following configuration to the **.ovpn file
route-nopull
route 6.6.6.6 255.255.255.255
2. Local
download client: https://openvpn.net/vpn-client/
Download the ovpn file from the openvpn server, then connect,it'a all done~~