Code Monkey home page Code Monkey logo

Comments (2)

lyijin avatar lyijin commented on July 27, 2024 2

Thanks @micahmo, now I get what the tunnel service refers to. Indeed, stopping internet sharing and uninstalling the tunnel service did indeed cut the connection to clients, and reinstalling everything reverted the behaviour seamlessly.

I do understand that users do typically want the tunnel to persist post-reboot, but my use case was slightly different from the norm.

I'll close this issue then--thanks again!

from wgserverforwindows.

micahmo avatar micahmo commented on July 27, 2024

Hi @lyijin,

I will say that everything you've mentioned (that WireGuard stays running when the app is closed and starts when you reboot) is intentional, as most people want WireGuard to be running all the time.

However, you can already do what you want. The UI allows you to disable the WireGuard server without losing any of your configuration. You just need to do the following.

  1. Turn off your internet sharing of choice (either "Disable NAT" or "Disable Internet Sharing").
  2. Turn off the WireGuard tunnel service ("Uninstall tunnel service").

(The first step is only necessary because, on Windows, the WG tunnel can't be disabled when it's being used for internet sharing.)

When you're ready to use WireGuard again, simply re-enable those two options.

Let me know if that works for you!

from wgserverforwindows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.