Saving wg0.conf via the web UI restarts wg-quick + watchdog + monitor
serially. wg-quick's down/up can take long enough that busybox httpd
closes the HTTP socket first, which the browser reports as "Failed to
fetch" even though the file was saved.
Move the restart loop into a detached background process, log its
output to /var/log/wirecon-restart.log (with per-service timeout 20s),
and have the CGI return the save confirmation immediately. The new log
is also servable via logs.sh?service=restart.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- create-lxc.sh prompts for WIRECON_NET / PEER_IP / CLIENT_IP / LAN_CIDR
(defaults 10.13.13.0/24, .1, .2, 192.168.1.0/24) and passes them through
to the in-container bootstrap
- install.sh generates a placeholder /etc/wireguard/wg0.conf from those
env vars instead of copying the static example, and updates PEER_IP in
wirecon.conf on first install
- install.sh always enables + starts wg-quick, watchdog, monitor and
(if WIRECON_WEB_AUTOSTART=yes, default yes) the web UI, even before
keys are filled in — wg-quick will fail until then, and the web UI
is the way to finish configuration
- apk installs busybox-extras and wirecon-web now runs /usr/sbin/httpd
(fixes "httpd: applet not found" on base busybox)
- create-lxc.sh drops its own web-UI start block (install.sh owns it)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Replace systemd units with OpenRC init scripts (supervise-daemon)
- Add wirecon-watchdog-loop.sh since OpenRC has no timers
- Switch install.sh to apk + rc-update
- Update bootstrap.sh to install git/bash via apk
- New proxmox/create-lxc.sh: picks next VMID, downloads Alpine template,
creates unprivileged LXC with tun passthrough, chains bootstrap
- Rewrite README around the Proxmox one-liner flow
Rootless-Docker server (wireguard-go + Caddy sharing netns) and
unprivileged-LXC client (kernel WG + systemd watchdog/monitor/MTU-probe)
with curl-pipeable bootstrap. Tuned for Telekom DSL/LTE Hybrid uplinks.