micahmo / WgServerforWindows

Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows
MIT License
943 stars 92 forks source link

Manually change MTU and restart the service #165

Open borjaevo opened 6 months ago

borjaevo commented 6 months ago

I have manually changed the MTU in the server.conf file in an attemp to improve smb performance. I dont know how can i reload the config now. Is it possible?

micahmo commented 6 months ago

Yes, from an admin PowerShell, you can run..

wg.exe syncconf wg_server $env:appdata\WS4W\server_wg\wg_server.conf

Just be aware that until #154 is done, re-applying the server config from the app will probably override your manual changes.