Networking

wireguard

WireGuard VPN server (wg-easy) components for r8s

@r8s/wireguard

wireguardvpnnetworkingwg-easy

Components (1)

01

WireGuard

WireGuard VPN server (wg-easy). Deploys without operator — native Kubernetes resources only.

import { WireGuard } from '@r8s/wireguard'

export default (
  <WireGuard
    host="vpn.example.com"
    passwordSecret="wg-password"
    nodePort={31820}
    tls={{ secretName: 'wg-tls', clusterIssuer: 'letsencrypt' }}
  />
)
namestringOptional

Resource name

namespacestringOptional

Kubernetes namespace

versionstringOptional

wg-easy version (default: latest)

hoststringOptional

Hostname for the web UI

wgPortnumberOptional

WireGuard port (default: 51820)

webPortnumberOptional

Web UI port (default: 51821)

passwordSecretstringOptional

Admin password secret name

storagestringOptional

Persistent storage (default: 1Gi)

nodePortnumberOptional

Node port for UDP (if using NodePort)

tls{ secretName: string, clusterIssuer: string }Optional

TLS config for web UI