Closed fscarmen closed 2 years ago
I think it will better to support both the current config and also implement your suggestion. I use wireproxy without wireguard, and it would be annoying to keep two files around. That said, I can also see the merits of your suggestion. Maybe when WGConfig = path
is set, [Interface]
and [Peer]
would be read from the WGConfig
path instead.
How about replace all of the above with one parameter
Because every wgcf users must exist this file. In this way, the case of DNS does not need to be considered by wireproxy. All happy!