Files
vpn-node-config/roles/openvpn/templates/server.conf.j2
T
gitea_admin 31f785b2b8
OpenVPN Ansible / Ansible Syntax Check (push) Successful in 5s
OpenVPN Ansible / Ansible Lint (push) Successful in 15s
OpenVPN Ansible / Deploy OpenVPN (push) Failing after 1m27s
OpenVPN Ansible / Generate SBOM (push) Skipped
OpenVPN Ansible / Scan SBOM with Trivy (push) Skipped
feat: add AMD64 and ARM64 compatibility to VPN node configuration
2026-10-16 16:28:25 +02:00

46 lines
701 B
Django/Jinja

port {{ openvpn_port }}
proto {{ openvpn_proto }}
dev {{ openvpn_mode }}
client-to-client
persist-key
persist-tun
keepalive 10 120
server-bridge
mode server
vlan-tagging
plugin {{ openvpn_radius_plugin_path }} /etc/openvpn/radiusplugin.cnf
verify-client-cert none
username-as-common-name
client-config-dir {{ openvpn_ccd_dir }}
script-security 2
client-connect /etc/openvpn/scripts/client-connect.sh
ca {{ openvpn_cert_dir }}/ca.crt
cert {{ openvpn_cert_dir }}/server.crt
key {{ openvpn_cert_dir }}/server.key
dh none
ecdh-curve prime256v1
data-ciphers AES-256-GCM:AES-128-GCM
data-ciphers-fallback AES-256-CBC
sndbuf 0
rcvbuf 0
tun-mtu 1400
verb 3
status /var/log/openvpn-status.log