Convert Figma logo to code with AI

krlvm logoPowerTunnel-Android

Powerful and extensible proxy server with anti-censorship functionality for Android

1,645
123
1,645
40

Top Related Projects

GoodbyeDPI — Deep Packet Inspection circumvention utility (for Windows)

36,462

An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

14,563

Lantern官方版本下载 蓝灯 翻墙 代理 科学上网 外网 加速器 梯子 路由 - Быстрый, надежный и безопасный доступ к открытому интернету - lantern proxy vpn censorship-circumvention censorship gfw accelerator پراکسی لنترن، ضدسانسور، امن، قابل اعتماد و پرسرعت

Quick Overview

PowerTunnel-Android is an Android app that provides censorship circumvention and traffic tunneling capabilities. It acts as a local HTTP proxy server on your Android device, allowing users to bypass internet restrictions and access blocked content while maintaining privacy and security.

Pros

  • Easy-to-use interface for non-technical users
  • Supports various DNS-over-HTTPS providers for enhanced privacy
  • Implements SNI spoofing and domain fronting techniques for effective censorship bypass
  • Open-source project with active development and community support

Cons

  • May impact internet speed due to proxy routing
  • Requires manual configuration of proxy settings in some apps
  • Limited advanced customization options compared to more complex VPN solutions
  • Potential battery drain when running continuously in the background

Getting Started

To use PowerTunnel-Android:

  1. Download the latest APK from the releases page.
  2. Install the APK on your Android device.
  3. Open the app and tap the "Start" button to activate the proxy.
  4. Configure your device's proxy settings to use 127.0.0.1 and port 8085 (default).
  5. Optionally, enable DNS-over-HTTPS and choose a provider in the app settings.
  6. Browse the internet freely with censorship circumvention enabled.

Note: Some apps may require manual proxy configuration. Refer to the app's documentation for detailed instructions on setting up individual apps to work with PowerTunnel-Android.

Competitor Comparisons

GoodbyeDPI — Deep Packet Inspection circumvention utility (for Windows)

Pros of GoodbyeDPI

  • Operates at a lower network level, potentially offering more comprehensive DPI circumvention
  • Designed specifically for Windows, providing optimized performance on that platform
  • Offers more advanced techniques like TCP fragmentation and packet payload randomization

Cons of GoodbyeDPI

  • Limited to Windows operating systems, lacking cross-platform support
  • Requires administrative privileges to run, which may be a security concern for some users
  • Less user-friendly interface compared to PowerTunnel-Android's mobile app

Code Comparison

GoodbyeDPI (C):

int dpi_fragmentation(char *pkt, int pkt_size, int mss) {
    if (pkt_size <= mss)
        return 0;
    return send_tcp_fragment(pkt, mss);
}

PowerTunnel-Android (Java):

@Override
public void handlePacket(Packet packet) {
    if (packet instanceof TCPPacket) {
        modifyTcpPacket((TCPPacket) packet);
    }
}

Both projects aim to circumvent DPI, but GoodbyeDPI focuses on low-level network manipulation for Windows, while PowerTunnel-Android provides a more accessible solution for Android users. GoodbyeDPI offers more advanced techniques but with platform limitations, whereas PowerTunnel-Android prioritizes ease of use and mobile compatibility.

36,462

An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

Pros of mitmproxy

  • More comprehensive and feature-rich, offering a wide range of tools for intercepting and analyzing HTTP/HTTPS traffic
  • Supports multiple platforms (Windows, macOS, Linux) and can be used as a command-line tool or with a web interface
  • Extensive documentation and active community support

Cons of mitmproxy

  • Steeper learning curve due to its complexity and advanced features
  • Not specifically designed for Android, requiring additional setup for mobile use
  • Larger resource footprint compared to lightweight alternatives

Code Comparison

mitmproxy:

from mitmproxy import http

def request(flow: http.HTTPFlow) -> None:
    if flow.request.host == "example.com":
        flow.request.headers["Custom-Header"] = "Modified"

PowerTunnel-Android:

@Override
public void onModifyRequest(HttpRequest request) {
    if (request.getHost().equals("example.com")) {
        request.addHeader("Custom-Header", "Modified");
    }
}

Both examples show how to modify HTTP requests, but mitmproxy uses Python and offers more flexibility, while PowerTunnel-Android uses Java and is tailored for Android environments.

14,563

Lantern官方版本下载 蓝灯 翻墙 代理 科学上网 外网 加速器 梯子 路由 - Быстрый, надежный и безопасный доступ к открытому интернету - lantern proxy vpn censorship-circumvention censorship gfw accelerator پراکسی لنترن، ضدسانسور، امن، قابل اعتماد و پرسرعت

Pros of Lantern

  • More comprehensive censorship circumvention solution with built-in proxy servers
  • Supports multiple platforms including Windows, macOS, Android, and iOS
  • Larger user base and more active development community

Cons of Lantern

  • Closed-source core components, which may raise privacy concerns
  • Potential for slower connection speeds due to reliance on centralized servers
  • More complex setup and configuration process

Code Comparison

PowerTunnel-Android (Java):

@Override
protected void onHandshakeCompleted(SSLSocket socket) throws IOException {
    String hostname = getServerName(socket);
    if (hostname == null) return;
    SNIHostName serverName = new SNIHostName(hostname.getBytes(StandardCharsets.US_ASCII));
    SSLParameters params = socket.getSSLParameters();
    params.setServerNames(Collections.singletonList(serverName));
    socket.setSSLParameters(params);
}

Lantern (Go):

func (c *Client) dialDirect(addr string) (net.Conn, error) {
    conn, err := net.DialTimeout("tcp", addr, c.Config.DialTimeout)
    if err != nil {
        return nil, err
    }
    return conn, nil
}

Note: The code snippets showcase different aspects of each project and may not be directly comparable in functionality.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README


PowerTunnel for Android

Simple, scalable, cross-platform and effective solution against government censorship for Android

Telegram channel
Looking for the PC version?

License Latest release Downloads Help on the Wiki
PowerTunnel User Interface PowerTunnel User Interface PowerTunnel User Interface

The Android version of PowerTunnel is built on top of incredible NetGuard's VPN Server that intercepts traffic and directs it through the local PowerTunnel proxy

You can't publish the app on the Google Play Store without permission: it is a violation of the license and the DMCA.

What is it

PowerTunnel is an extensible proxy server built on top of LittleProxy that does not require root-access to work.

PowerTunnel provides an SDK that allows you to extend its functionality however you like, and even handle encrypted HTTPS traffic (powered by LittleProxy-MITM), which can be especially useful in web development. PowerTunnel has an Android version, so any plugin you write can work on almost all devices.

PowerTunnel was originally developed and is best known as a censorship bypass tool. This functionality has been spun off in the LibertyTunnel plugin, it is installed by default, just like DNS Resolver with DNS over HTTPS support.

Anti-censorship tool

Digital censorship has become widespread in authoritarian and developing countries: governments install DPI - Deep Packet Inspection systems - for Internet Service Providers, which allows analyzing and blocking traffic to websites they don't want you to see, forcing you to use slow and often paid proxies or VPN services with dubious privacy policy.

PowerTunnel is an active DPI circumvention utility - it works only on your PC and do not route your traffic through some third-party webservers. It creates a local proxy server on your device and diverts your HTTP(S) traffic there, where PowerTunnel modifies your traffic in a special way to exploit bugs in DPI systems which makes it possible to bypass the lock - without (significantly) slowing down your Internet connection.

Anti-censorship module can be configured in Plugins window - it is called LibertyTunnel.

In this sense, PowerTunnel is a free cross-platform implementation of GoodbyeDPI written in Java with support for Android.

Please, note that PowerTunnel does not change your IP address.

Configuring

Downloading PowerTunnel

PowerTunnel binary can be downloaded from the Releases page.

If you don't trust the prebuilt APK, you can build PowerTunnel from source with Android Studio. It is also available in F-Droid via IzzyOnDroid repo (details, versions 1.x are also available).

Using proxy instead of VPN

If you want to use PowerTunnel only with a single app, you can change mode from VPN to Proxy in PowerTunnel settings and configure the app manually to make it route its traffic via the proxy server.

VPN mode is supported on Android 5 Lollipop and higher.

Configuring DPI circumvention

DPI circumvention can be configured in LibertyTunnel settings - open plugins page and tap to the gear opposite to LibertyTunnel plugin.

Configuring DNS

To configure DNS, open plugins page and tap to the gear opposite to DNS plugin.

You are able to choose between pre-installed Google and Cloudflare DNS (DoH) providers or add yours.

Enabling AdBlock

AdBlock is disabled by default. To enable, open plugins page and check the box next to AdBlock plugin, then restart PowerTunnel.

Bundled Plugins

  • LibertyTunnel - anti-censorship plugin for PowerTunnel
  • DNS Resolver - DNS Resolver with DNS over HTTPS (DoH) support
  • AdBlock - simple, but efficient ads and trackers blocker

Dependencies