Unexpected behavior when config changes, should reconnect
There are some cases where changing the configuration leaves everything broken or unprotected. I have tested different scenarios, Android 14, reproduced them all. Used from the pipelines in !83 (merged)
- I have mobile hotspot on
- first run
- select no apps are protected (switch off)
- connect first run select afghanistan (no exits available)
- connect
- change 1 app to be protected (I choose a browser)
- check the IP this browser uses: old existing one, not routed over tor
- switch off hotspot
- disconnect vpn
- connect vpn
- 'connection reset' in browser
- choose a different exit (I went for be)
- re connect vpn
- browser functions as excpected, using an exit in that country
- when being connected with a specific exit location
- only some apps are protected (I choose a browser)
- works
- now change to protect all apps
- check browser: it is not routed over the VPN
- check other apps: it is not routed over VPN
- need to disconnect and reconnect
proposal: when changing the exit location, give a warning "need to reconnect, do you really want to switch?" and reconnect when people hit yes
Edited by kwadronaut