VPN¶
All VPN interfaces behave like any other interface: add them to zones, write policies, monitor them, use them as WAN.
WireGuard¶
VPN → WireGuard manages kernel WireGuard tunnels via systemd-networkd.
- Generate creates the tunnel key pair (the public key is shown).
- Add road warrior generates a key pair and preshared key for a client, assigns
the next free tunnel address and stores the client key so you can export the
configuration as a
.conffile or QR code (WireGuard mobile apps). - Site-to-site peers: endpoint, allowed IPs and install routes.
- Default route turns the tunnel into the WAN: Internet traffic leaves through the tunnel; fr0ntier adds a host route to the peer endpoint through the underlay interface. See WAN over WireGuard.
- The listen port is opened automatically in the input chain.
OpenVPN¶
VPN → OpenVPN — server or client instances.
- Remote access with users: local users and groups, password + two-factor authentication (authenticator app or e-mail code), personal certificates, account expiry, lockout, live sessions with disconnect and identity-based policies — see Users, groups & 2FA.
- Server: UDP/TCP, tunnel network (topology subnet), AES-256-GCM / AES-128-GCM /
ChaCha20-Poly1305,
tls-crypt, pushed routes and DNS, optional full tunnel, client-to-client, fixed addresses per user. - Authentication modes: personal certificate + password (+2FA), password (+2FA) or device certificates only (site-to-site, IoT).
- Built-in PKI per instance (ECDSA P-256): CA, server certificate, personal or device certificates, CRL — disabling or deleting a user or device revokes it at the next commit.
- Inline
.ovpnprofiles: download them from the user list (or the device table), or send them with the access e-mail. - Client mode: paste a provider profile; fr0ntier manages the tunnel interface.
IPsec¶
VPN → IPsec — IKEv2 route-based site-to-site tunnels with strongSwan (swanctl)
and XFRM interfaces (ipsec1, …):
- PSK authentication, local/remote IDs, proposals (defaults: AES-256-GCM, ECP-384 / AES-256-SHA256 MODP-2048), DPD, start action.
- Remote subnets are routed through the XFRM interface automatically; filter the traffic with normal policies.
- UDP 500/4500 and ESP are opened automatically.
VPN status¶
VPN → VPN Status and Monitoring show WireGuard handshakes and transfer,
connected OpenVPN clients and IPsec SA state; metrics are exported as
fr0ntier_wg_peer_*, fr0ntier_openvpn_clients and fr0ntier_ipsec_up.