WgServerforWindows
WgServerforWindows copied to clipboard
start/stop server by batch commands
Hi. Very good job! I am trying the server on a W10 22H2 pc and it is working very well!
Normally, I don't leave my servers open all the time, but I start and stop them using batch commands sent from remote internet by SSH (i.e. service vpnserver1 start) I don't see a procedure in WS4W to make this, but:
- to stop wireguard I can in the order by WgServerforWindows.exe (GUI interface):
- disable NAT routing
- uninstall tunnel service
- to start (reenable) I can:
- install tunnel service
- enable NAT routing
So, should it be easy to have some corresponding commands in the CLI interface...
Moreover, why the server interface is named wg_server instead of wg0, as usual?
Thank you, hope in your help. All the best