celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
2.99k stars 152 forks source link

MDM integration (zerotouch configuration) #971

Open mrbluecoat opened 1 year ago

mrbluecoat commented 1 year ago

Somewhat similar to #63 but instead of another app controlling Rethink it would be a Mobile Device Manager (MDM), like Hexnode, Intune, etc. This would allow a large organization to deploy Rethink and configure it to safely use specific DNS servers without employees changing, stopping, or bypassing the settings.

ignoramous commented 1 year ago

Thanks. Are there MDM-specific APIs that Rethink must implement here? If so, which ones?

mrbluecoat commented 1 year ago

Thanks for the quick response! Our specific use case involves Cisco Meraki so I'll use that MDM as an example. Meraki doesn't require an API integration; instead, you provide key-value pairs to configure the app: https://documentation.meraki.com/SM/Profiles_and_Settings/Using_the_Managed_App_Settings_Payload

Here are key-value pairs that come to mind:

In addition, we would need a PIN-protected lock screen to prevent settings changes (this is a parental/manager PIN which is different than the "Enable app lock" which the device owner would know). Here's a code example of that: https://github.com/gdlow/brickguard/blob/master/app/src/main/java/com/gdlow/brickguard/LockActivity.java

mrbluecoat commented 1 year ago

P.S. Your VPN & Proxies list doesn't block Opera's default built-in VPN. You may want to compare with https://cleanbrowsing.org/filters/ Family Filter (which does) and https://www.ipaddress.com/proxy-list/ and https://iplists.firehol.org/?ipset=dronebl_anonymizers

lessload commented 1 year ago
mrbluecoat commented 1 year ago

Oh, sorry I thought paid plans were launching soon for RethinkDNS. You can close if not planned.