this post was submitted on 26 Nov 2024
24 points (100.0% liked)

Android

28069 readers
211 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 2 years ago
MODERATORS
 

Is there any way I can use a proxy on Android on a per app basis instead of system wide? Just like for some who don't want absolutely everything to be routed through a VPN, some VPNs offer the option to include/exclude applications. That's exactly what I'd like to do, just with a proxy on my phone.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 week ago (1 children)

1 Invizible Pro
https://www.f-droid.org/en/packages/pan.alexander.tordnscrypt.stable/

2 RethinkDNS
https://www.f-droid.org/en/packages/com.celzero.bravedns/

3 Singbox
https://www.f-droid.org/en/packages/io.nekohasekai.sfa/

They can all be used together or separately as proxies or VPN.

1 and 2 allow for per app routing, blocking, firewall, etc. depending on mode(VPN or proxy)

3 allows to set up local or remote proxies, tunnels, etc.

[–] [email protected] 1 points 1 week ago (1 children)
[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

You could also use termux and set up something like tinyproxy to route specific sites to the various proxies.

Something like invizible has an outbound socks proxy setting so you could use that to send all traffic to your local http/socks proxy.

A lot of browsers have plugins like foxyproxy that will let you set global (per browser) or site/wildcard proxies.

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago) (1 children)

Yup, Firefox was a thought but I wasn't sure if extensions were a thing on Android. I do use FoxyProxy on my desktop so it would come in handy if it'd work on my phone too.

[–] [email protected] 1 points 1 week ago

It does.

You can also install all the different versions/forks of FF for android for more separation. (Nightly, mull, tor, etc)

[–] [email protected] 5 points 1 week ago* (last edited 1 week ago)

Multiple VPN apps on Android allows you to set per-app rules including forwarding to different VPN servers

The Cloudflare app allows setting exclusions

However you can't have 2+ active VPN connections simultaneously on Android without root, so while for example OpenVPN allows you to set multiple VPN profiles with different app exclusions (binding chosen apps to a certain VPN connection) you're forced to pair this with a firewall to keep different groups of apps offline while their VPN profile is inactive, then switch which apps are online by switching VPN profile.

Alternatively - set up a single Wireguard VPN to your own server somewhere (it may be a rented VPS) and then set multiple outgoing VPN connections on that server, and then set forwarding rules based on which domains/IP each app communicates with (beware that this may make a mess with browsers and such if for example a single web page gets split over different VPN sessions due to content being hosted across different servers on the same page)