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/
Feedback







Small world. Big idea!
  • Welcome to visit the knowledge base of SRE and DevOps!
  • License under CC BY-NC 4.0
  • Made with Material for MkDocs and improve writing by generative AI tools
  • Copyright issue feedback me#imzye.com, replace # with @