Skip to content

Android VPN interceptor to send HTTP and HTTPS traffic to a proxy

Notifications You must be signed in to change notification settings

mosmetro-android/TunProxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Android HTTP traffic Proxy setting tool

Language/Japanese

This tool is a proxy configuration tool that takes advantage of Android VPNService feature. Only the communication from the specified application can be acquired.

how to use

When you start the TunProxy application, the following screen will be launched.

Tun Proxy

  • Proxy address (ipv4:port)

    • Specify the destination proxy server in the format IPv4 address:port number. The IP address must be described in IPv4 format.
  • [Start] button

    • Start the VPN service.
  • [Stop] button

    • Stop the VPN service.

menu

Application settings can be made from the menu icon (Menu) at the top of the screen.

Settings

Configure VPN service settings.

Menu SettingsMenu Settings

There are two modes, Disallowed Application and Allowed Application, but you can not specify them at the same time. Because of this you will have to choose whether you want to run in either mode. The default is Disallowed Application selected.

  • Disallowed Application

    • Select the application you want to exclude from VPN service. The selected application will no longer go through VPN service and behave the same as if you do not use VPN.
  • Allowed Application

    • Select the application for which you want to perform VPN service. The selected application will now go through VPN service. Applications that are not selected behave the same as when not using VPN. In addition, if none of them are selected, communication of all applications will go through VPN.
  • Clear all selection

    • Clear all selections of Allowed / Disallowed application list.

Settings Search

Menu Settings / Menu Settings

You can narrow down the applications from the search icon.(Menu) Only applications that contain the keyword specified in the application name or package name will be displayed.

The application list can be sorted from the menu icon (Menu) at the top of the screen.

  • order by asc

    • Sorting in ascending order
  • order by desc

    • Sorting in descending order
  • filter by app name

    • Search for the application name that contains the keyword you specified.
  • filter by package name

    • Search for the package name that contains the keyword you specified.
  • sort by app name

    • Sort application list by application name
  • sort by package name

    • Sort application list by package name

MITM (SSL decrypt)

TunProxy does not perform SSL decryption. TunProxy acts like a transparent proxy. To perform SSL decryption, set the IP of an SSL decryptable proxy such as Burp suite or Fiddler to the IP of TunProxy

The following are local proxy tools that can decrypt SSL.

To decrypt SSL, install the local proxy tool Root certificate in the Android device user certificate. However, in Android 7.0 and later, the application no longer trusts user certificates by default.

Please refer to the following web site as a solution

About

Display application version

Operating environment

  • Android 5.0 (API Level 21) or later

ビルド

gradlew build

base application

Most of the code was created based on the following applications for creating applications.

Development environment

About

Android VPN interceptor to send HTTP and HTTPS traffic to a proxy

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 67.8%
  • Java 31.8%
  • CMake 0.4%