GithubHelp home page GithubHelp logo

Comments (7)

genotrance avatar genotrance commented on August 16, 2024

There isn’t a —restart option right now. You can use —quit and then start Px again. As long as it is the same Px binary (same location), it should stop and start with the same configuration.

from px.

genotrance avatar genotrance commented on August 16, 2024

I’m just curious why you need to restart a running proxy? Wondering if you have changed settings and want them to take or some other reason? We could add a flag but would be good to know why first.

from px.

weibeld avatar weibeld commented on August 16, 2024

No, the use case was restarting the proxy when there is a network change like connecting or disconnecting from a VPN. Not sure if the proxy is designed to handle this.

from px.

genotrance avatar genotrance commented on August 16, 2024

I don’t think there’s a real need for this - Px reloads proxy information that is discovered every 60 seconds using —proxyreload. The timeout is configurable as well if you need. I think it should handle such VPN changes.

Curious to hear if this does not meet your needs.

from px.

weibeld avatar weibeld commented on August 16, 2024

I use Px proxy to provide internet access to WSL2 through a company network. When I log in to Windows and after that establish a VPN connection, then the proxy information is updated, as you said, however, I don't have internet access from WSL2. In particular, I can't reach the network interface that Px proxy is listening on from WSL2.

It only works if the VPN connection is established before logging in to Windows, i.e. before Px proxy is started.

from px.

genotrance avatar genotrance commented on August 16, 2024

I'm not sure I understand this - are you saying that if the VPN is connected before Px starts, everything works fine but Px does not handle the switch if the VPN is started afterwards?

Does this have something to do with #173?

from px.

genotrance avatar genotrance commented on August 16, 2024

This is added in v0.9.0.

from px.

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.