angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
7.51k stars 1.26k forks source link

Proposal for small improvement #361

Closed francoisPE closed 1 year ago

francoisPE commented 1 year ago

Hello, Thanks a lot for that VERY nice script. I would propose to add in uninstall function:

ip link delete dev ${SERVER_WG_NIC}

angristan commented 1 year ago

The interface should already be automatically removed. What OS did you have this issue on?

francoisPE commented 1 year ago

That's true. Interface is automatically removed. I had that issue when wg exited on bug I forgot I opened this issue on github ! Thank you for your job