dsnet
dsnet copied to clipboard
FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.
This is simply bumping deps to latest version, I tested the commands to make sure nothing broke. I bumped the deps as I was trying to do some update work...
Hi, I'm trying to add 0.0.0.0/0 in Networks but it doesn't work. (I've tried with "Networks": "0.0.0.0/0", "Networks": "[0.0.0.0/0]", "Networks": 0.0.0.0/0) Do you have any advice? Thanks in advance.
Report file is missing the keys `ExternalHostname` and `ExternalIP6` that were recently added to `dsnetconfig.json` Sample outputs: `/etc/dsnetconfig.json`: ``` { "ExternalHostname": "wireguard.example.com", "ExternalIP": "198.51.100.2", "ExternalIP6": "fd00:7b31:106a::1", "ListenPort": 51820, "Domain": "dsnet",...
This gives more flexibility with scripts. It can then also be used remotely via ssh (using a sudo NOPASSWD rule and a restricted command) with more ease.
Like this: https://github.com/naggie/dstask/blob/master/completions/embed.go#L7 It's quite painful dealing with inlined templates. This will allow individual files so things like syntax highlighting work.
I see that currently the config file is [hardcoded](https://github.com/naggie/dsnet/blob/1d03a3a870bf09f16ae1ea242500d94137f79f13/const.go#L8-L9). It would be useful to have it be configurable via environment or command line argument. That would allow dsnet to use...
Could install and enable (--now) dsnet.service automatically, copy itself to /usr/local/bin, create a `dsnet` group with setuid root to enable users in the dsnet group to use it without root.
Started an inital idea for abstracted store. I'm going to implement a sqlite interface as well to check that this works when we add more backends, but I don't think...
Could generate a bash script which internally uses the wg-quick template. The bash script could then delete itself. Useful to install wireguard, openresolv, save config in correct place with correct...
Logo
Just opening this here for logo ideas. I'm no designer/icon kind of person, but would love if someone had ideas and or talent they would love to share. Ideas I've...