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

Networks in config.json ignored #1

Open
knuuuut opened this issue Jun 19, 2023 · 2 comments
Open

Networks in config.json ignored #1

knuuuut opened this issue Jun 19, 2023 · 2 comments

Comments

@knuuuut
Copy link

knuuuut commented Jun 19, 2023

Hello,
this script is exactly what I'm looking for, but it does not work.
Any settings in the "Networks" section inside config.json are ignored. Wireguard is alway toggled on a network change and stays on.
Any hints/ideas?

German Win 10Pro 22H2

@noenic
Copy link
Owner

noenic commented Jun 19, 2023

Hello,
for a while it worked very well,
I also noticed that, the problem is that the event viewer sometimes does not give the name of the network, which triggers the condition and activates the VPN, I will find another solution using netsh and try to improve the script.

@noenic
Copy link
Owner

noenic commented Jul 17, 2023

Hi, I pushed a fix that works for me, let me know if it works on your end.

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