naggie / dsnet

FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.

Home Page:https://calbryant.uk/blog/how-to-set-up-a-wireguard-vpn-in-minutes-with-dsnet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to run without root?

bbigras opened this issue · comments

It is! Use setuid root, with a dsnet group to decide who can run dsnet.

Thank you for your quick reply. Sorry for my late one. 😅

I mean without any root rights.

I'm also wondering if there's a way to save to a custom folder instead of /etc/something.

It could be useful to have more than 1 "network".

I guess it could be added as an option or env var.

Not possible, I think, unless there's a setcap that gives the right permissions