tunnel-go

command module
v0.0.0-...-9c1130b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 15 Imported by: 0

README

Brainfuck Tunnel - Psiphon Pro Go Version

For Viettel 4G Bug

Requirements

Termux

pkg i git golang make wget

Build

Build

make

Clean

make clean

Usage

Configure file

cp config.example.json config.json

Execute

./tun

Configurations

Run ./tun first to export all default settings.
Config will generated to config.json where tun binary file are executed.

Config example

{
	"ProxyRotator": {
		"Port": "1080"
	},
	"Inject": {
		"Enable": true,
		"Type": 2,
		"Port": "10800",
		"Rules": {
			"akamai.net:80": [
				"125.235.36.177"
			]
		},
		"Payload": "",
		"ServerNameIndication": "",
		"MeekType": 0,
		"Timeout": 5,
		"ShowLog": false
	},
	"PsiphonCore": 15,
	"Psiphon": {
		"CoreName": "psiphon-tunnel-core.exe",
		"Region": "",
		"Protocols": [
			"FRONTED-MEEK-HTTP-OSSH",
			"FRONTED-MEEK-OSSH"
		],
		"KuotaDataLimit": 4,
		"TargetServerEntry": ""
	}
}

Rules

XL Iflix or Axis Gaming (Default)

...
"Rules": {
    "akamai.net:80": [
        "video.iflix.com",
        "videocdn-2.iflix.com",
        "iflix-videocdn-p1.akamaized.net",
        "iflix-videocdn-p2.akamaized.net",
        "iflix-videocdn-p3.akamaized.net",
        "iflix-videocdn-p6.akamaized.net",
        "iflix-videocdn-p7.akamaized.net",
        "iflix-videocdn-p8.akamaized.net"
    ]
},
...

Direct

...
"Rules": {
    "*:*": [
        "*"
    ]
},
...

or

./tun -f "*" -w "*:*"

Telkomsel 0P0K

...
"Rules": {
    "akamai.net:443": [
        "118.97.159.51:443",
        "118.98.95.106:443"
    ]
},
...

or

./tun -f 118.97.159.51:443,118.98.95.106:443 -w akamai.net:443

Pubg Mobile (XL King)

...
"Rules": {
    "akamai.net:80": [
        "www.pubgmobile.com"
    ]
},
...

Joox (XL King)

...
"Rules": {
    "akamai.net:80": [
        "ak-quic.stream.music.joox.com.edgesuite.net",
        "ak-hk.stream.music.joox.com.edgesuite.net",
        "ak-ng.stream.music.joox.com.edgesuite.net",
        "ak-quic.app.joox.com.edgesuite.net",
        "ak-ng.app.joox.com.edgesuite.net",
        "e5121.b.akamaiedge.net"
    ]
},
...

Ruang Guru and Udemmy (XL or Axis)

...
"Rules": {
    "fastly.net:443": [
        "c.shared.global.fastly.net:443",
        "rg-video.ruangguru.com:443"
    ]
},
...

or

./tun -f c.shared.global.fastly.net:443,rg-video.ruangguru.com:443 -w fastly.net:443

Note

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
dispatch
main.go
main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL