donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python & Vue.js
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.63k stars 252 forks source link

Can't edit an existing wg0 #385

Closed ilium007 closed 2 months ago

ilium007 commented 2 months ago

Describe The Problem There is no way to edit an existing Wireguard config once entered. I have looked at the sqlite db file, there is no config being held there. I have edited the wg0 interface in /etx/wireguard/wg0.conf and the interface changes are not reflected in WGDashboard (ie. server IP / subnet).

How do you change interface config after initial install?

Expected Error / Traceback N/A

To Reproduce Create a new wg0 interface, try to edit it

OS Information: N/A

Sample of your .conf file N/A

ilium007 commented 2 months ago

Correction, I was able to edit the wg0.conf file manually but had to restart the WGDashboard instance to pick up changes