Go backend that drives kernel WireGuard over netlink (wireguard-go as the fallback), nftables NAT with MSS clamping, forwarding and buffer sysctls, SQLite for peers, users, sessions, traffic history and the audit log. React console: dashboard with live rates and usage history, peer management with QR codes and .conf downloads, disconnect, session reset, key rotation, expiry, client-supplied keys, settings, users with admin and viewer roles, two-factor authentication with recovery codes, audit log. Docker image on Alpine with compose files for bridged and host networking, CI and GHCR publish workflows, performance notes.
9 lines
196 B
Go
9 lines
196 B
Go
//go:build !linux
|
|
|
|
package netcfg
|
|
|
|
import "errors"
|
|
|
|
// DefaultEgress is only implemented on Linux.
|
|
func DefaultEgress() (string, error) { return "", errors.New("not supported on this platform") }
|