Comment on VPN protection: allow other VPN apps (WireGuard, NetBird, ...) as the VPN app (small patch)

<- View Parent
marcusquinn@forum.cloudron.io ⁨1⁩ ⁨day⁩ ago

Thanks @girish. I checked vpnAccessConfig in app-bridge.js, and I think it already works for any app, with nothing OpenVPN-specific:

For NetBird, a separate routing-peer app (with net_admin, masquerading so traffic comes from its own container IP) would turn apps[].fqdn into NetBird domain resources and domains into DNS match domains. It would use an exit node for full and CIDR routes for custom.

So the question isn't really technical. Would you be OK documenting this endpoint and its response fields as a supported contract for VPN apps, perhaps marked experimental?

Two things I couldn't tell from the code: how should a VPN app learn about changes (polling, or a restart/notification when the config changes)? And how does the OpenVPN app use dashboardDomain?

If it helps, I can extend the app-bridge test so the selected caller is a non-OpenVPN net_admin app.

original
Sort:hotnewtop