Skip to content

Importing WireGuard config doesn’t auto-use filename + only imports first DNS #763

@yanquan06

Description

@yanquan06

I noticed two small quirks when importing a WireGuard config into the defguard client:

1.) Config name not taken from filename

If I import a config like ktang.conf, defguard doesn’t use ktang as the config name and makes me type one in manually. Not a huge deal, just feels a bit weird since the official WireGuard client uses the filename automatically.


2.) Only first DNS server gets imported

If the config has two DNS servers, only the first one gets imported.

Example:

DNS = 192.168.1.1,192.168.1.12

Defguard imports 192.168.1.1, but I have to manually add 192.168.1.12, which works.

Would be nice if import behavior matched official WireGuard clients a bit more. Thanks! 🙏

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions