创建ssh隧道以避免防火墙阻塞

创建ssh隧道以避免防火墙阻塞,ssh,port,firewall,portforwarding,ssh-tunnel,Ssh,Port,Firewall,Portforwarding,Ssh Tunnel,我拥有ssh访问权限的远程主机/服务器 我的计算机在我的工作网络中,只能通过ssh连接 在这个网络中 由于端口22,我无法通过ssh连接到其他世界 被防火墙阻止 我正在尝试创建ssh隧道,以将示例localhost:80转发到远程服务器:22。(我假设通过ssh连接到localhost,并将转发到我的远程服务器) 例如,我在没有代理的情况下尝试过 sudo ssh-L localhost:443:remote\u server\u ip:22root@remote_host_name 还有代理

我拥有ssh访问权限的远程主机/服务器

我的计算机在我的工作网络中,只能通过ssh连接 在这个网络中

由于端口22,我无法通过ssh连接到其他世界 被防火墙阻止

我正在尝试创建ssh隧道,以将示例localhost:80转发到远程服务器:22。(我假设通过ssh连接到localhost,并将转发到我的远程服务器)

例如,我在没有代理的情况下尝试过
sudo ssh-L localhost:443:remote\u server\u ip:22root@remote_host_name
还有代理


我读了很多书并检查了stackoverflow,但我仍然不清楚如何解决这个问题。

一些想法?我只是想避免防火墙阻塞。