Add a tunnel
Settings › My WireGuard
- Choose Scan QR code and allow camera access, or tap Import a file (.conf) and pick your file. If you’ve already saved a tunnel, tap Add tunnel first.
- To add one by hand, tap Enter manually. Enter the Name, Private key, Peer public key, Endpoint, Tunnel address and Allowed ranges from your setup, then tap Save to review.
- Check Server, Carries and DNS. Tap Save to leave the tunnel off, or Save and connect to turn it on now.
- Scan QR code Point the camera at your WireGuard code.
- Import a file (.conf) Look in Downloads if the file picker opens with an empty list.
- Enter manually Opens New tunnel for the settings you enter by hand.
Looking at the server list? WireGuard under Protocol uses Astrill’s servers.
You can also open a configuration from a file app. See Settings › App settings › Shortcuts & tiles › Open .conf files with Astrill.
Choose what uses the tunnel
Settings › Where traffic goes
Open your tunnel in My WireGuard and turn it on with the switch named for it, for example Use Office. It can run on its own or alongside Astrill VPN.
- Everything by default
- In All traffic, pick the tunnel and tap Done. Apps and sites with their own routes keep them.
- One app
- In Exceptions, tap Add an app, pick the app, choose the tunnel and tap Done.
- One site
- In Exceptions, tap Add a site, enter its address, pick the tunnel under Route to and tap Add.
When the tunnel is off. A switched-off tunnel is skipped and the next rule decides, unless a route says “Only through” or the tunnel keeps its networks.
Change the order of tunnels
Settings › My WireGuard
Touch and hold a tunnel, then drag it. When networks overlap, the narrower range wins. If the ranges are the same, the higher tunnel wins.
What your server sees. Your WireGuard tunnels connect over your normal internet, not through the Astrill VPN, so their servers see your real IP.
See the privacy policy.
Manage a tunnel
Settings › My WireGuard › tunnel name
- Use on
- Choose which networks the tunnel runs on.
- Domains
- Set the names that use this tunnel’s DNS.
- Use [tunnel name] by default
- Set a full tunnel as the default route.
- If [tunnel name] can’t connect
- Choose what the full tunnel’s traffic does while it’s unavailable.
See your keys or back up a tunnel
Settings › My WireGuard › tunnel name
Tap Public key to copy it. Showing a saved Private key asks for your phone’s screen lock.
Setting up a new key? In New tunnel, tap Generate key and add the resulting Public key on your server.
Settings › App settings › Back up & restore
To back up your keys, turn on Include tunnel keys in Export settings and follow the backup steps.
Good to know
- For an office connection, the configuration must be for WireGuard.
- Internet routes need a tunnel with Carries internet traffic on.
- Astrill uses only IPv4 ranges from the tunnel configuration.
Written for Astrill for Android 4.4, on Android 10 or later.