WgServerforWindows icon indicating copy to clipboard operation
WgServerforWindows copied to clipboard

start/stop server by batch commands

Open kawasaki500 opened this issue 10 months ago • 0 comments

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):
  1. disable NAT routing
  2. uninstall tunnel service
  • to start (reenable) I can:
  1. install tunnel service
  2. 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

kawasaki500 avatar Dec 06 '24 21:12 kawasaki500