GHOSTWIRE 0.1.2: WireGuard server manager with web UI and API
Single Go binary that manages a WireGuard server based on pivpn's defaults: - config.json as the single source of truth, reconciled to the kernel via netlink, wgctrl and its own nftables table (NAT, forward, input) - web interface (dashboard, peers, peer detail, add peer, server, settings) and a JSON API for the future iOS app, with session and API-token auth - client private keys are never stored; configs and QR codes shown once - per-peer traffic statistics in stats.json, logs in GHOSTWIRE.jsonl - HTTPS via Let's Encrypt, self-signed, certificate files or off - self-managing: install, update (restores the old binary on failure), uninstall and passwd subcommands; systemd unit generated by the binary Tested end to end on Ubuntu 26.04 (kernel 7.0) at dev.redetzke.aero. Claude-Session: https://claude.ai/code/session_01RAnLbyQZ5ZTA7KqwXP98nw
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"web": {
|
||||
"listen": ":443",
|
||||
"httpListen": ":80",
|
||||
"tls": {
|
||||
"mode": "acme",
|
||||
"domain": "vpn.example.net",
|
||||
"email": "admin@example.net"
|
||||
}
|
||||
},
|
||||
"server": {
|
||||
"endpoint": "vpn.example.net"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user