vpn-router (0.33.2-1)

Published 2026-10-27 08:47:31 +01:00 by slawek in slawek/linux-cloud-router

Installation

distribution=
component=
sudo curl https://gitea.koszewscy.waw.pl/api/packages/slawek/debian/repository.key -o /etc/apt/keyrings/gitea-slawek.asc

echo "deb [signed-by=/etc/apt/keyrings/gitea-slawek.asc] https://gitea.koszewscy.waw.pl/api/packages/slawek/debian $distribution $component" | sudo tee -a /etc/apt/sources.list.d/gitea.list

sudo apt update
sudo apt install vpn-router=0.33.2-1

Repository Info

Distributions
noble
Components
main
Architectures
all

About this package

Linux VPN router with IPSec, IKEv2, OpenVPN and WireGuard support Configures a Linux host or virtual machine as a VPN router: site-to-site IKEv2 IPSec (strongSwan swanctl) with pre-shared keys or certificates, optional IKEv2 access using EAP-TLS, optional OpenVPN with a certificate and a password per user, kept in a local LDAP directory, optional WireGuard, and the routing, NAT, MSS clamping and firewall rules a router needs. Its two-level CA, whose root may be kept offline, has issuing CAs for the VPN clients, for site-to-site and for general use, and publishes their certificates and CRLs. Caddy, installed by the package from the Ubuntu archive or from Caddy's repository, serves HTTPS and static web sites, whose files are uploaded through the web service or WebDAV, an optional PowerDNS name server answers for a zone of the sites, and an optional OpenID Provider signs the directory's users in to other systems. It keeps metrics of the router in PostgreSQL and serves them for an OpenTelemetry Collector, and makes scheduled backups to a local folder, copied to the cloud with rclone, or to a Proxmox Backup Server. Nothing in the package is specific to a cloud provider. . Settings live in /etc/vpn-router/vpn-router.json, which is created on first install and owned by the administrator afterwards. Editing it and restarting vpn-router-setup applies the change; the same service reconciles the system at every boot. It is built on two inputs, the external and internal interface names; the addresses on them are read from the system rather than configured again, and nothing is auto-detected. . Platform-specific additions are provided by modules under /usr/lib/vpn-router, selected explicitly by the platform setting. Modules for Azure and GCP are included.

Dependencies

debconf (>= 0.5) | debconf-2.0
strongswan-swanctl (>= 5.0)
charon-systemd (>= 5.0)
libstrongswan-extra-plugins
libcharon-extra-plugins
wireguard-tools
ufw
debconf
ucf
python3
python3-cryptography
python3-jinja2
python3-ldap
python3-pyotp
python3-fido2
python3-jwt
python3-oauthlib
python3-psycopg
python3-psutil
python3-prometheus-client
postgresql
slapd
nslcd
libnss-ldapd
libpam-ldapd
sudo
openvpn
openvpn-auth-ldap
iproute2
systemd-resolved
dnsmasq-base
zstd
Details
Debian
2026-10-27 08:47:31 +01:00
1
Sławomir Koszewski
157 KiB
Assets (1)
Versions (59) View all
0.38.1-1 2026-10-30
0.38.0-1 2026-10-30
0.37.3-1 2026-10-30
0.37.2-1 2026-10-30
0.37.1-1 2026-10-30