naggie/dsnet

Multiple server instances with seperate config files

artizirk opened this issue · 3 comments

I see that currently the config file is hardcoded. It would be useful to have it be configurable via environment or command line argument. That would allow dsnet to use more wireguard interfaces with different configs.

Hm, now that we have the cobra CLI parser it could be added without too much hassle I guess. I think it could be useful, I'll leave this issue open for someone to implement it.

Would need a way of changing the default interface name too?

Already an option, in the config: "InterfaceName": "dsnet",