Show HN: Wg-admin – web UI for an existing WireGuard host

Posted by vsergione 22 hours ago

Counter31Comment11OpenOriginal

Reads /etc/wireguard, lets you add/edit/remove peers, applies with wg syncconf (no interface bounce). Does not install WireGuard or rewrite your PostUp/NAT. That's all

Comments

Comment by tommy_axle 2 hours ago

This sits in the right spot using the existing wg conf and tools.

Comment by jchook 17 hours ago

Seems like high-risk and low-reward for your network security. You could host it behind the WG interface, but… still exposing the castle’s master key to a python web app.

I have found that WG client management is as simple as a couple scripts and a TSV file to match pubkeys to users.

Anyhow, cool project and I like the overall concept of respecting existing config.

Comment by vsergione 8 hours ago

Well, I don't rely on tools to deliver security out of the box without me knowing what is all about. Therefore, this tool is not meant to be secure by itself. I use other means to achieve that.

Comment by russelg 15 hours ago

Any notable differences from wg-easy?

Comment by vsergione 8 hours ago

Just a big one: it can manage an already existing WG setup. The readme says it all.

Comment by DylanMerigaud 22 hours ago

Nice work, following along.

Comment by po_westnet26 21 hours ago

[flagged]

Comment by ma2kx 22 hours ago

Looks like hand coded. Kudos for that!

Comment by docheinestages 17 hours ago

A dead giveaway that I think it's AI-made (not necessarily a con) is the complexity of the UI and redundant information. Things like the green dot paired with "interface is up". It looks polished though.

Comment by vsergione 7 hours ago

I confirm that I vibe coded it.

Comment by vsergione 8 hours ago

It's not hand coded. I've built it because I've needed for my own purposes.

I've tried wg-easy, but I didn't like the docker approach because it implied to dramatically alter my setup. I just wanted something to manage my already existing setup, something simple and effective. And the coding agent was good enough to built quickly what I needed.

Comment by Lapalux 19 hours ago

Not sure how you could tell that - the entire repo is 4 commits, all within the last 4 hours.