Page 1 of 2
Automatic disconnect does not work
Posted: Tue Nov 26, 2019 6:19 pm
by Doro1981
I am using the connect on demand feature for my wireguard VPN, which works fine. The automatic disconnection, if connected to certain WiFi SSID works well too.
I would like to access a single address in the VPN network to retrieve some data, which takes less than a second. After that, the connection can be closed again. Under Global options/VPN options I checked Disconnect when the VPN is inactive with the parameters 10 seconds and 1024 bytes. So I expect to drop down the connection after 10 seconds. But even after minutes the connection is alive. I checked the throughput in the monitor (unter STATUS), which was verifiable nothing.
So any idea about this behaviour?
Re: Automatic disconnect does not work
Posted: Tue Nov 26, 2019 6:58 pm
by admin
I will take a look tomorrow...
Re: Automatic disconnect does not work
Posted: Wed Nov 27, 2019 8:58 am
by admin
You're right.
I forgot to implement this feature in the WireGuard backend.
The problem will be fixed in the next release.
I think that it will be available the next week.
Thank you for the bug report.
Re: Automatic disconnect does not work
Posted: Tue Dec 03, 2019 4:44 pm
by admin
The problem has been fixed in new release 1.00.30
Please, update the app.
Re: Automatic disconnect does not work
Posted: Thu Feb 13, 2020 10:09 pm
by swejuggalo
Using an OpenVPN.
Of some reason Automatic connect does nothing for me.
The rules in On demand works fine. It disconnects when connecting to ssids I added. So the VPN is on everywhere else.
I would however like to use auto connect instead to define rules so all wifi connections other than the ones I've added as trusted. Nothing I do in Auto connect seems to work.
What am I doing wrong? Or is there a OpenVPN issue?
Android 10, OnePlus 7 Pro.
Ignore the post I tried to post in the wrong area
Re: Automatic disconnect does not work
Posted: Fri Feb 14, 2020 8:37 am
by admin
Do you use both Connect on demand and Auto connect features?
If so, please try to disable the Connect on demand.
Otherwise...
Is the VPN not connected automatically?
Is the VPN not disconnected automatically?
Re: Automatic disconnect does not work
Posted: Fri Feb 14, 2020 4:25 pm
by swejuggalo
Tried with only auto connect. Can't seem to get anything working but on demand.
Still better than OpenVPN Connect and OpenVPN for Android
Re: Automatic disconnect does not work
Posted: Fri Feb 14, 2020 4:39 pm
by swejuggalo
Just tried to use the rules connect when mobile connectivity is up and connect when connected to WiFi but not my own and work SSID. It connects when dropping wifi. But it does not disconnect when reconnecting wifi. It's a hidden SSID. Could that be an issue?
Made it visible. No difference.
When reconnecting my wifi it just reconnects to VPN instead of following the rules.
- Screenshot_20200214-174418.jpg (252.64 KiB) Viewed 6220 times
Re: Automatic disconnect does not work
Posted: Fri Feb 14, 2020 5:02 pm
by admin
Please, select also the option "Disconnect when the WiFi is down".
This option disconnect the VPN also when the SSID is not allowed.
Re: Automatic disconnect does not work
Posted: Fri Feb 14, 2020 9:44 pm
by swejuggalo
Tried this profile. It did not connect just as it should. Then I removed swejuggalo just to simulate a unknown SSID.
It connected as it should. So it seems this config would connect to all SSID other than those I added on the list. Correct? More testing tomorrow.
- Screenshot_20200214-223852.jpg (246.96 KiB) Viewed 6215 times