wireguard-install icon indicating copy to clipboard operation
wireguard-install copied to clipboard

Remove client configuration files when uninstalling WireGuard

Open dvershinin opened this issue 3 years ago • 2 comments

Got seemingly invalid client config by these steps:

  • Run the script, add client with name example
  • Remove WireGuard using script menu
  • Run the script again, specified same client name example

The resulting file has.:

[Interface]
...

[Peer]
...
[Interface]
...

[Peer]
...

dvershinin avatar Dec 11 '20 20:12 dvershinin

Perhaps we need to clean the client files during removal of wireguard.

angristan avatar Feb 08 '21 10:02 angristan

I've renamed the issue. This could be added as an option to the uninstall process.

angristan avatar Feb 08 '21 10:02 angristan