Skip to content

Install OpenVPN on Debian 11

homepage-banner

TL; DR

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

Config

cat /etc/openvpn/server/server.conf
## manual run as daemon
openvpn --config /etc/openvpn/ovpn.conf --daemon

Service Control

sudo systemctl cat openvpn-iptables.service
sudo systemctl stop openvpn-server@server.service
sudo systemctl start openvpn-server@server.service
sudo systemctl status openvpn-server@server.service

Reference

  • https://github.com/Nyr/openvpn-install
  • https://ubuntu.com/server/docs/service-openvpn
  • https://www.webhi.com/how-to/how-to-install-openvpn-server-on-ubuntu/
Leave a message