Your VPN dies the moment your screen turns off. You reconnect, it drops again, and you’re stuck refreshing pages at 2 AM wondering why your tunnel keeps collapsing. That’s exactly the problem Android’s Always-On VPN feature solves — and if you follow this Android VPN always-on setup guide properly, you’ll never think about reconnection anxiety again.
What Exactly Is Android VPN Always-On?
Always-On is a native Android setting (available since Android 7.0) that forces your device to route all traffic through a VPN connection at all times. Not just when you remember to tap the connect button — literally always, including after reboot, screen lock, or app switches.
Here’s the part most people miss: Always-On has a companion option called Block connections without VPN. When enabled, Android kills all internet traffic if the tunnel drops. No leak. No fallback to your raw IP. Nothing goes out unless it goes through the VPN.
Think of it as a kill switch baked into the OS — no third-party app required.
Why Bother With Always-On at All?
Fair question. Plenty of people run VPNs manually for years and never notice a problem. But from my experience testing tunneling setups on budget phones, manual connections fail in three annoying ways:
- Sleep kills your tunnel. Android’s battery optimizer aggressively backgrounds VPN apps like HTTP Injector or v2rayNG, and the connection silently dies overnight.
- Reboots reset everything. Your phone restarts after an update, and you’re browsing unprotected until you notice.
- Apps leak during reconnects. That 5-second gap between disconnect and reconnect is enough for apps to phone home with your real IP.
Always-On fixes all three at the OS level. Your battery optimizer can background the VPN app all it wants — the system-level VPN service keeps the profile alive.
Step-by-Step: Setting Up Always-On VPN
This works on Android 7.0 and above, and the path is nearly identical across Samsung, Xiaomi, Pixel, and other major brands.
- Connect your VPN once using your preferred app — WireGuard, OpenVPN for Android, v2rayNG, whatever you use.
- Open Settings → Network & internet → VPN (on Samsung:
Settings → Connections → More connection settings → VPN). - Tap the gear icon next to your active VPN profile.
- Toggle Always-on VPN to ON.
- Toggle Block connections without VPN to ON as well.
That’s it. Two toggles. If you’re using a system-configured VPN (like a WireGuard profile imported through the built-in VPN dialog), both options appear automatically.
What About Third-Party Tunneling Apps?
Here’s where it gets slightly tricky. Apps like HTTP Injector, NekoBox, and v2rayNG create their own VPN service, so they appear in the same settings menu and support Always-On just fine. However, some apps handle reconnection better than others.
WireGuard is the gold standard here — it reconnects almost instantly after a drop. OpenVPN for Android has a solid reconnect behavior too. Custom SSH-based tunnels (like SSH over HTTP via HTTP Injector) can take longer to re-establish, so test yours before trusting it.
Pro tip: after enabling Always-On, put your phone in airplane mode for 10 seconds, then turn it back off. Watch how fast the tunnel re-establishes. If it takes more than 15 seconds, consider a different app.
Common Problems (and How to Fix Them)
Always-On is reliable, but it’s not magic. A few things bite people regularly:
- “Internet doesn’t work at all.” You enabled Block connections without VPN, but your VPN app failed to connect. Everything is blocked — by design. Fix the underlying connection first.
- Conflicting VPN profiles. You can only run one active VPN service. If you have two apps fighting for the VPN slot, disable Always-On on the one you don’t use.
- Aggressive battery savers. Xiaomi’s MIUI and some Oppo/Realme builds kill VPN apps despite Always-On. Exempt your VPN app from battery optimization:
Settings → Apps → [your VPN app] → Battery → Unrestricted. - Split tunneling surprises. Some apps let you exclude certain apps from the VPN. If Always-On is on and something still leaks, check the split tunneling list — an excluded app bypasses everything.
One more thing. If your provider requires a paid subscription for stable servers and you’re not ready to commit, a VPN premium trial is usually enough to test whether Always-On behaves well with their infrastructure. Don’t buy a year-long plan based on one good evening of testing.
Advanced Tweaks for Power Users
Once the basics work, there are a couple of refinements worth exploring.
1. WireGuard’s Persistent Keepalive
If you’re on WireGuard, add PersistentKeepalive = 25 to the peer section of your config. This sends a tiny packet every 25 seconds to keep NAT mappings alive — hugely helpful on mobile networks where carriers aggressively close idle connections.
2. Test for DNS Leaks
Always-On protects your IP, but DNS can still misbehave if your VPN profile has sloppy settings. Visit a leak test site with the tunnel active and confirm all DNS queries resolve through your VPN’s servers. If they don’t, set your VPN app to force its own DNS (WireGuard does this by default via the DNS = line).
3. Pair It With On-Demand Rules
Some apps (like OpenVPN for Android) support restart rules on network change. Combine that with Always-On and you get a tunnel that survives Wi-Fi-to-mobile handoffs without a visible hiccup. Honestly, this combo is the best mobile VPN setup I’ve tested — it just works.
Frequently Asked Questions
Does Always-On VPN drain battery?
Slightly, yes — but far less than you’d expect. The overhead is mostly the VPN service itself, which runs whether or not Always-On is enabled. Enabling the toggle adds maybe 2–5% daily drain in my testing. Negligible.
Can I exclude specific apps from the VPN?
Yes, via split tunneling. But note the tension: if you exclude an app while Block connections without VPN is on, behavior varies by Android version. Some builds block excluded apps entirely when the tunnel is down. Test your setup if you rely on split tunneling.
Will Always-On work with SSH tunneling apps?
Mostly. Since apps like HTTP Injector and v2rayNG register as system VPN services, Always-On applies to them. The catch is reconnection speed — SSH handshakes take longer than WireGuard’s UDP-based setup, so expect a few extra seconds of blocked traffic after a drop.
Is Block connections without VPN necessary?
If you care about privacy, yes. Without it, a dropped tunnel means your traffic flows naked over your ISP’s network until the VPN reconnects. With it, you get silence instead of leaks. Silence is better.
One Last Trick Most Guides Skip
Enable Always-On on a secondary test profile first. Import a free config — you can grab a free account at claudessh.com to experiment with — and run it for a few days before switching your daily driver over. If the reconnect behavior is clean, promote your main config to Always-On with full confidence. Cheap insurance, zero downside.
