Giter Club home page Giter Club logo

powertunnel's Introduction


PowerTunnel

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

Telegram channel
Check out the Android version!

License Latest release Downloads Help on the Wiki
PowerTunnel User Interface

What is it

Nowadays Internet censorship is introducing in many countries: governments analyze and block traffic to this sites using DPI - Deep Packet Inspection systems, forcing you using circumvention utilities like VPN, for example. That approach have many disadvantages, most noticeable - connection speed slowdown. In addition, these services cannot guarantee work stability and your data confidence.

PowerTunnel is active DPI circumvention utility, that works only on your PC and don't send your traffic to third-party servers, respecting your privacy and do not slowing down your internet connection.

PowerTunnel is more than a regular anti-censorship utility - using it, you can monitor your traffic and block any connection, advertising, for example.

How does it work?

PowerTunnel establishes a transparent proxy server on your PC and directs your traffic through it, applying DPI circumvention tricks.

PowerTunnel never decrypts your traffic, all code is open-source.
You should install Root CA only in case you enabled some specific options.

How can I get it?

You can compile a binary yourself or download prepared binary here.

Setup

The installation process is described in detail on the Wiki.

Doesn't work

Try to disable chunking mode and enable SNI Spoil.

Most likely your ISP blocked the website you need by IP address, so only encrypted tunnel (VPN/Tor) can help you.

User interface

You can monitor network activity, block and whitelist websites through Java Swing-based user interface when console mode is off or through PowerTunnel Monitor.

Configuring PowerTunnel

DNS over HTTPS

PowerTunnel supports DNS over HTTPS (DoH) - secure and fast DNS protocol.

DoH servers tested with PowerTunnel:

You can test if you're using DoH here. If you have problems with DoH on PowerTunnel try disabling DNSSec mode.

From User Interface

User Interface for configuring the application

Hover over option to get details

Launch arguments

You can specify some params that will override settings through CLI:

$ java -jar PowerTunnel.jar -help

Available arguments:
 -help                                   display help
 -start                                  starts server right after load
 -console                                console mode, without UI
 -government-blacklist-from [URL]        automatically fill government blacklist from URL
 -use-dns-sec                            enables DNSSec mode with the Google DNS servers
 -use-dns-server [URL]                   overrides DNS settings (DNS over HTTPS supported)
 -disallow-invalid-packets               HTTP packets without Host header will be thrown out (unrecommended)
 -disable-chunking                       HTTPS: disables packet chunking (fragmentation)
 -full-chunking                          HTTPS: enables chunking the whole packets (requires chunking enabled)
 -chunk-size [size]                      HTTPS: sets size of one chunk
 -sni-trick [trick]                      HTTPS: enable SNI tricks: 1 - spoil, 2 - erase, 3 - fake. Requires Root CA installation.
 -sni-trick-fake-host [host]             HTTPS: host that will used with 'fake' SNI Trick
 -line-break-get                         HTTP:  inserts a line break before 'GET' method
 -space-after-get                        HTTP:  inserts a space after 'GET' method
 -apply-http-https                       HTTP:  apply enabled HTTP tricks to HTTPS
 -mix-host-case                          HTTP:  enables 'Host' header value case mix
 -complete-mix-host-case                 HTTP:  complete 'Host' header value case mix
 -disable-mix-host-header-case           HTTP:  disables 'Host' header case mix
 -disable-dot-after-host-header          HTTP:  disables dot after host header
 -send-payload [length]                  HTTP:  sends payload to bypass blocking, 21 is recommended
 -ip [IP Address]                        sets IP Address
 -port [Port]                            sets port
 -upstream [ip:port]                     enables upstream proxy and sets its address
 -upstream-auth [user:password]          sets upstream proxy authorization credentials
 -port [Port]                            sets port
 -enable-journal                         enables PowerTunnel journal (when UI enabled)
 -enable-logs                            enables PowerTunnel logs (when UI enabled)
 -enable-log-to-file                     enables PowerTunnel logger and log file
 -with-web-ui [appendix]                 enables Web UI at http://powertunnelmonitor[appendix].info
 -disable-auto-proxy-setup               disables auto proxy setup (supported OS: Windows)
 -enable-proxy-pac                       enables generation of PAC file on startup
 -auto-proxy-setup-win-ie                auto proxy setup using IE instead of native API on Windows
 -full-output-mirroring                  fully mirrors system output to the log
 -set-scale-factor [n]                   sets DPI scale factor (for testing purposes)
 -disable-tray                           disables tray icon
 -disable-native-lf                      disables native L&F (when UI enabled)
 -disable-ui-scaling                     disables UI scaling (when UI enabled, Java 9 scaling will be applied)
 -disable-updater                        disables the update notifier
 -debug                                  enables debug

Spin-off projects

Dependencies

Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.