curl -fsSL helper.sh/install_openvpn_server_centos.sh | sudo bash curl -fsSL helper.sh/install_openvpn_server_centos.sh | sudo bash -s -- 10.6.6.0 10.7.7.53 reshub.cn Network server installer
Designed for a CentOS 7 OpenVPN server whose LAN address is 192.168.30.110 with gateway 192.168.30.1. The script pushes the 192.168.30.0/24 route to VPN clients and applies SNAT on the server LAN interface so clients can talk to the full 192.168.30.0/24 network without adding static routes on every LAN device.