SSH Tunneling for Dynamic Port Forwarding (Free charge Internet Access)
nc (openbsd-version) (be aware if you are installing wrong nc)
openssh
sshpass
python3
corkscrew
python3-pip
$ pkg install pip python openssh sshpass corkscrew
1. apt-cyg
$ wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg -P /bin/; chmod +x /bin/apt-cyg
2. required packages
$ apt-cyg install nc tar curl make openssh python3 autoconf gcc-core corkscrew python3-pip
3. sshpass
$ curl -LO http://downloads.sourceforge.net/sshpass/sshpass-1.06.tar.gz
$ md5sum sshpass-1.06.tar.gz
$ tar xvf sshpass-1.06.tar.gz
$ cd sshpass-1.06
$ ./configure
$ make
$ make install
$ python3 -m pip install --upgrade pip
$ python3 -m pip install requests beautifulsoup4
$ python3 -m pip install -U requests[socks]
Run app.py
first to export config.json
to config/config.json
1. Tunel Type
0: Direct -> SSH
1: Direct -> SSH (SSL/TLS)
2: HTTP Proxy -> SSH
2. SOCKS5 Port
"socks5_port_external": [
"1081",
"1082",
"1083"
]
"socks5_port": [
"1081",
"1082",
"1083"
]
If socks5_port_external
or socks5_port
like that. You will execute 3 SSH Clients.
Add ports to execute more SSH Clients.
3. Proxy Command
Please googling for this topic.
proxy_host: {inject_host}
proxy_port: {inject_port}
$ python3 (file-name)
Ctrl-C to Change Server
Ctrl-Pause to Exit
Facebook Group : Internet Freedom