Block an app
Settings › Apps
- Find the app with Search apps and tap it.
- Under Internet access, tap Blocked. There is no Save button.
- If the page says
Firewall is off, so these rules aren’t applied
, go to Home and turn the Firewall on. - The first time, tap Continue, then OK on Android’s question.
The app still opens. YouTube, for example, says “You’re offline”.
Tap a row on the app’s page to see what it does.
- Internet access Allowed, Wi-Fi only, Blocked or Custom.
- Details: Wi-Fi, mobile, roaming, background Separate switches for Wi-Fi, mobile data, roaming and background use.
- Mode Open only the sites you allow
- Rules for this app Block one site for this app only, or always allow one.
- Allow for a while Lets a blocked app online for 15 minutes, 1 hour or 8 hours. The block comes back by itself.
- Route Where this app’s traffic goes: through the VPN, around it, or nowhere. Where traffic goes
- Explain a connection See why this app is blocked, waiting or allowed. Fix a problem
- Recent connections What this app tried to reach, and what happened to each try. See what’s happening
Keep an app off mobile data
Settings › Apps › the app
- Under Internet access, tap Wi-Fi only.
- For finer control, open Details: Wi-Fi, mobile, roaming, background. Each has its own switch.
For several apps, see Save mobile data.
Block a website
Settings › Firewall › Website address rules
- Tap Add a website address. On an empty Firewall page, the way in is Block a website instead of Website address rules.
- Type the name, for example youtube.com. It covers m.youtube.com and the rest too.
- Leave Block selected and tap Block.
An app and its website are two things. Block YouTube and youtube.com separately.
Block an address, or import a list
To block an address instead: Settings › Firewall › IP address and port rules, then Add an IP address or range. On an empty Firewall page, the way in is Block an address or port.
Both lists have Import in bulk. Tap a rule to edit it, or its bin to remove it.
Let an app open only some sites
Settings › Apps › the app › Mode
- Tap Mode, then Only allowed sites. With the Firewall on, the app can open only sites you always allow for it.
- Open Rules for this app, then Always allow a domain or IP.
- Type the site and tap Allow. Repeat for each site.
Pictures missing? Many sites load pictures from a second name. Recent connections on the app’s page shows which name was blocked, so you can allow it too.
Let a blocked app through for a while
Settings › Apps › the app › Allow for a while
- Choose 15 minutes, 1 hour or 8 hours.
- The row then shows the time left. Tap it to end it early.
Pause Firewall rules
Settings › Help › Pause Firewall rules for 15 min
For 15 minutes, Firewall rules stop blocking. Routes and traffic waiting for a tunnel stay as they are. Tap the row again to resume sooner.
Rules for all apps
Settings › Firewall › Rules for all apps
Tap the switch to turn a rule on. Tap its name for Let through and Show all in Activity when offered. Open Advanced for more rules.
Here are the rules in the app’s words.
| Rule | What it does |
|---|---|
| Block while locked | Apps go offline soon after the screen locks |
| Block unused apps | Apps not on screen go offline after a wait. Needs Usage access. |
| Block new installs | New apps stay offline until you allow them |
| Block all apps | Apps go offline unless you let them through |
Six more rules, under Advanced
| Rule | What it does |
|---|---|
| Block unidentified connections | Connections Android can’t link to an app |
| Block UDP traffic | Except DNS and time sync. Astrill and tunnel connections to their servers are exempt. |
| Block insecure HTTP | Unencrypted web pages (port 80) |
| Block apps that skip Astrill DNS | Connections to addresses not looked up through Astrill DNS. With a Private DNS provider set in Android, that’s most connections. |
| Block DNS from unknown apps | Lookups Android can’t link to an app |
| Block local network access | Apps can’t reach devices on your network (printers, TVs, other phones), even with the VPN off. |
Block all apps
Settings › Firewall › Rules for all apps › Block all apps
Turn it on and use Let through to choose which apps can go online. If asked Keep notifications working?, let the suggested app through to keep notifications arriving.
Keep new apps offline until you say so
Settings › Firewall › Rules for all apps › Block new installs
A newly installed app gets no internet. A notification asks Allow or Keep blocked. Until someone answers, it stays offline and waits under Waiting for your decision.
What to know about the Firewall
- There is no PIN. See Kid’s phone.
- There is no bedtime schedule.
- Not the VPN. With only the Firewall on, Home says
VPN off · your IP is visible
.
Written for Astrill for Android 4.4, on Android 10 or later.