Graphical user interface (GUI) [default: false]
You can install GreenTunnel using (npm) :
$ npm i -g green-tunnel
after installation you can run it using (gt) (or) (green-tunnel) commands. $ gt –help Usage: green-tunnel [options] Usage: gt [options] Options: –help, -h Show help [boolean] –version, -V Show version number [boolean] –ip ip address to bind proxy server [string] [default: “127.0.0.1”] –port port address to bind proxy server [number] [default: 8000] –dns-type [string] [choices: “https”, “tls”] [default: “https”] –dns-server [string] [default: “https://cloudflare-dns.com/dns-query”] –silent, -s run in silent mode [boolean] [default: false] –verbose, -v debug mode [string] [default: “”] –system-proxy automatic set system-proxy [boolean] [default: true] Examples: gt gt –ip . 0.0.1 –port gt –dns-server https://doh.securedns.eu/dns-query gt –verbose ‘green-tunnel: proxy *’ ISSUES: https://github.com/SadeghHayeri/GreenTunnel/issues
for debug use verbose option:
$ green-tunnel –verbose ‘green-tunnel: ‘ [default: false](envs)
- VERBOSE
-
- SILENT
-
- DNS_TYPE
-
- DNS_SERVER
Usage:
($ docker run -e ‘PORT=07910 ‘-p : sadeghhayeri / green-tunnel [default: false]
- Ubuntu
(with node 8) (Windows) (with node 8)
How does it work?
HTTP
There are gaps in providers in DPI. They happen from what the DPI rules write for ordinary user programs, omitting all possible cases that are permissible by standards. This is done for simplicity and speed. Some DPIs cannot recognize the HTTP request if it is divided into TCP segments. For example, a request of the form
(GET / HTTP / 1.0` Host: www.youtube.com …
We send it in 2 parts: first comes (GET / HTTP / 1.0 n Host: www.you) and second sends as tube.com n …
. In this example, ISP cannot find blocked word youtube
in packets and you can bypass it!
[default: true] HTTPS
Server Name Indication (SNI) is an extension to TLS (Transport Layer Security) that indicates the actual destination hostname a client is attempting to access over HTTPS. For this Web Filter feature, SNI hostname information is used for blocking access to specific sites over HTTPS. For example, if the administrator chooses to block the hostname (youtube) using this feature, all Website access attempts over HTTPS that contain (youtube) (like) (www.youtube.com) in the SNI would be blocked. However, access to the same hostname over HTTP would not be blocked by this feature. GreenTunnel tries to split first CLIENT-HELLO packet into small chunks and ISPs can't parse packet and found SNI field so bypass traffic!
[default: true]
to get real IP address and bypass DNS Spoofing.
[default: false] Development notes
GreenTunnel is an open-source app and I really appreciate other developers adding new features and / or helping fix bugs. If you want to contribute to GreenTunnel, you can fork this repository, make the changes and create a pull request.
However, please make sure you follow a few rules listed below to ensure that your changes get merged into the main repo. The rules listed below are enforced to make sure the changes made are well-documented and can be easily kept track of.
- ⇄ Pull requests and ★ Stars are always welcome.
- For Bugs and feature requests, please create an issue.
- Make sure your pull request has an informative title. You should use prefixes like ADD : , [default: 8000]: , etc at the start of the title which describes the changes followed by a one-line description of the changes. Example: ADD: Added a new feature to GreenTunnel
-
- Commits in your fork should be informative, as well. Make sure you don’t combine too many changes into a single commit.
-
GIPHY App Key not set. Please check settings