wiki:openvpn_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
wiki:openvpn_installation [2024/04/10 12:27] – [Certificate generation] change bullet numbers antisa | wiki:openvpn_installation [2024/04/10 12:48] (current) – add section about systemd service antisa | ||
---|---|---|---|
Line 184: | Line 184: | ||
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE | iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE | ||
- | | + | |
+ | ===== Running openvpn server as a service ===== | ||
+ | |||
+ | Debian 12 ships with systemd units for this. The way to run it is to first make sure the server configuration file is located in /// | ||
+ | |||
+ | systemctl enable --now openvpn-server@myvpnserver | ||
+ | |||
+ | Check logs with | ||
+ | journalctl -xefu openvpn-server@server.service | ||
====== Tested on ====== | ====== Tested on ====== | ||
* Debian 12 Bookworw | * Debian 12 Bookworw |
wiki/openvpn_installation.txt · Last modified: 2024/04/10 12:48 by antisa