I am trying to transfer all the incoming data in my server to another server
In other words, I want to create a tunnel.
i use this command in ubuntu: ssh -o GatewayPorts=true -L 80:0.0.0.0:80 root@157.90.166.71
But i Get this error: ssh: connect to host 157.90.166.71 port 22: Connection timed out
I have another question, what is the best and fastest way to tunnel between servers? (Pay attention that I want this to make a VPN)