naggie / dsnet

FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.
https://calbryant.uk/blog/how-to-set-up-a-wireguard-vpn-in-minutes-with-dsnet/
MIT License
673 stars 33 forks source link

Can't add networks #72

Closed dakser closed 2 years ago

dakser commented 2 years ago

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.

naggie commented 2 years ago

It should be a list of CIDR strings, i.e.: ["172.18.2.0/24", "10.0.0.1/24"] -- dsnet currently does nothing with these, but I plan on making it add routes soon.