I often have to connect to public wifi networks, and upon connecting (automatically or otherwise), several apps will immediately connect to their host server and start exchanging data. How can I make sure that those apps will not start anything until I have my VPN turned on ? Even if I have my VPN auto-connecting, there is still a [sometime longer] delay during which other apps will start "chatting" on the net..........

I'd like to be able to give the go before apps automatically connect to the net. Some will let me configure a "connect on demand" but most will connect whenever they can.

3 Answers 3


Since Android 8 there's built-in option Block connections without VPN in VPN settings.

In other case you may use AFWall+ (root required) from F-Droid or Google Play to allow apps to connect to internet only through VPN (only paid version supports VPN).


You can do that by "Force stop" apps from app manager before connecting to wifi network that will prevent apps bring in background until you open them. Only that will be pain in the ass process because you will need to do that for every app you want to prevent using wifi until connect to vpn. You can try geenify or some app to stop background processes if you have a lot of apps.


Go to settings, then click WiFi or WLAN Then press the extra option button,then you click advanced setting , then switch off scanning always be avaliable. It will prevent any app from using wifi.

If that doesn't work switch on app permission an deny all apps wifi access.

If it doesn't work, I suggest you see a phone technician.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .