http ssl ssh tunneling socks5 proxy
working on
-
Add your SNI host and ssh host to
settings.ini
-
Run python script.
python3 tunnel.py
-
Run ssh command.
ssh -C -o "ProxyCommand=nc -X CONNECT -x 127.0.0.1:9092 %h %p" username@host -p 443 -CND 1080 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
or
sshpass -p password ssh -C -o "ProxyCommand=nc -X CONNECT -x 127.0.0.1:9092 %h %p" username@1host -p 443 -v -CND 1080 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
-
Add socks5 proxy and Enjoy!
host: 127.0.0.1
port: 1080