servers/roles/ocserv
Timotej Lazar 292ddbb7e7 ocserv: fix firewall config
Oops, let’s not drop everything but VPN packets in postrouting.
2025-08-11 12:26:55 +02:00
..
files ocserv: fix firewall config 2025-08-11 12:26:55 +02:00
handlers Add ocserv role 2025-04-12 18:38:48 +02:00
meta Add nginx as a role dependency where required 2025-04-12 18:51:31 +02:00
tasks ocserv: add playbook for creating client certificates 2025-08-04 16:13:30 +02:00
templates ocserv: support UDP 2025-05-16 14:26:26 +02:00
README.md Add ocserv role 2025-04-12 18:38:48 +02:00

Install and configure ocserv with a script to configure nftables on (dis)connection.

Create a self‐signed CA authority for issuing user certificates. User and group are read from the CN and OU certificate subject fields, respectively. To configure VPN groups, define the variable vpn as follows:

"vpn": {
    "network": "<VPN network>"
    "routes": {
        "<group>": [ "<route>", … ]
        …
    }
}