Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start/stop server by batch commands #173

Open
kawasaki500 opened this issue Dec 6, 2024 · 0 comments
Open

start/stop server by batch commands #173

kawasaki500 opened this issue Dec 6, 2024 · 0 comments

Comments

@kawasaki500
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant