Skip to main content

Process

Example

PROCESS-NAME,com.android.vending,Proxy
PROCESS-NAME,*google*,Proxy
PROCESS-NAME,com.instagram.android,Proxy,force-remote-dns

Format

PROCESS-NAME, {package name}, {target proxy}[, force-remote-dns][, enhanced-mode]

Parameters

NameValueMandatoryNote
package name-trueFormat: Android application package name. Supports complete match or wildcard match.
target proxy-trueThe specified proxy or proxy group must exist in the profile.
force-remote-dnstrue
false
falseDefault value: false.
If set to true, the DNS query will be triggered on the remote proxy.
enhanced-modetrue
false
falseDefault value: false.
If set to true, a fake IP will be returned in the DNS query.
caution

Due to system restrictions, force-remote-dns and enhanced-mode only work on Android 11 and above.

tip

The Android application package name can be found using the methods below:

  • Use software like Apk Info to query the package name on your device.
  • Search for the application name on the web version of Google Play. Enter the application details page; the package name will be at the end of the URL.
  • Open the application on your phone and keep it in the foreground. Use the ADB command to fetch the package name:
adb shell dumpsys activity recents | grep 'Recent #0' | cut -d= -f2 | sed 's| .*||' | cut -d '/' -f1