Multiple server instances with seperate config files
artizirk opened this issue · 3 comments
artizirk commented
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.
naggie commented
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.
frillip commented
Would need a way of changing the default interface name too?
naggie commented
Already an option, in the config: "InterfaceName": "dsnet",