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

Support "Automatic proxy detection" under windows #3

Closed
pfeigl opened this issue Sep 22, 2021 · 2 comments
Closed

Support "Automatic proxy detection" under windows #3

pfeigl opened this issue Sep 22, 2021 · 2 comments

Comments

@pfeigl
Copy link

pfeigl commented Sep 22, 2021

Feature request's description
We are in a situation, where we constantly switch between beeíng connected to a corporate VPN and not beeing connected to it.

Our windows proxy setting is always set to automatic detection.

While we are connected to the corporate VPN, windows manages to identify that it should use the PAC file and configures the proxy based upon it.

However when we leave the VPN, windows sees, that there is no longer a PAC available and uses a DIRECT connection.

This setup seems to be not supported by winfoom directly right now. I can obviously change between PAC and DIRECT manually whenever I connect / disconnect the VPN, but thats not a good workflow.

The solution
Winfoom simply uses the proxy which windows would also use

Alternatives
Not sure how easy the windows proxy can be checked. An alternative could be to simply check the existance of the wpad file in regular timeframes (ideally every few seconds) and if it's not there, simply fallback to DIRECT.

Does this request make sense? Should it be supported already and I'm doing something wrong?

@pfeigl
Copy link
Author

pfeigl commented Sep 22, 2021

Btw, https://github.com/genotrance/px can do what I ask for (you might check how they are doing it). However they are GUI-less and do not support autostart and running as a service in the background.

@ecovaci
Copy link
Owner

ecovaci commented Sep 22, 2021

This feature is already implemented. In graphical mode, see Seetings -> Use system proxy settings

@ecovaci ecovaci closed this as completed Sep 22, 2021
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

2 participants