明国三年一场雨

明国三年一场雨

热爱技术分享
telegram
email

Easily build openvpn to achieve remote networking, openvpn encrypted transmission is more secure, intranet penetration, remote office, at home can access the company's computer through the local area network, super simple deployment plan, using stable and low-latency domestic servers.

  1. SSH connection tool Finalshell: Click here to enter

  2. Allow ports or set firewall rules

  3. Download OpenVPN installation program, open source project address: Click here to enter

wget https://raw.githubusercontent.com/Nyr/openvpn-install/master/openvpn-install.sh

If there is an issue with the download link, you can download the project files from the open source project, upload them to the server, and then execute the following command

apt update&&apt install unzip&&unzip -j openvpn-install-master.zip
  1. Install OpenVPN (also use this command to add users)
bash openvpn-install.sh

Enter the domain name or press Enter - choose 2 (TCP) - set a port (it is recommended not to use the default port) - choose 1 - set a name - press Enter - press Enter again
Set OpenVPN to start on boot

systemctl enable openvpn@server
  1. Various OpenVPN client downloads: [Click here to enter]

  2. OpenVPN file path: /etc/openvpn/server, if you need to change the configuration information, you can open server.conf to make changes

If you have made changes to the configuration, simply restart the server

reboot
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.