How to tunnel the traffic through ssh to get a proxy?
First of all ssh server should accept the TCP Forwarding .. if not so this will not work ..
it’s simple , Lets say that you have 2 servers and your client and to be totally undetectable from any DPI and the traffic will be through the ssh so we will tunnel the traffic from the Client machine to server A [ 188.8.131.52 ] and from server A we will tunnel the traffic to Server B [ 184.108.40.206 ] … This will be also undetectable if its’ established only between the client and the server
So from the CLI excute the following command As ROOT :
[root@Bassem] ssh firstname.lastname@example.org -L 8081:220.127.116.11:80 -X
Now you can export your localhost ip 127.0.0.1 on port 8081 to as http/s_proxy or ftp_proxy or on your browser and the local port 8081 will forward the TCP packets to the back end server at the end of the tunnel which will be 80 on 18.104.22.168