Luc*_*Luc 7 ftp ssh redirect portforwarding tunneling
我有一台运行ftp服务器的机器,我想从位于仅授权端口80的路由器后面的另一个网络上的机器访问它.
我在考虑像ssh隧道:
ssh -L local_port:${ftphost}:20 user@{sshhost}
Run Code Online (Sandbox Code Playgroud)
其中$ {sshhost}是另一台可以访问ftp服务器$ {ftphost}的机器.
$ {sshhost}可以从我的主机访问,而$ {ftphost}只能从$ {sshhost}到达而不是我的.{sphhost}
那会是最好的解决方案吗?
| 归档时间: |
|
| 查看次数: |
16935 次 |
| 最近记录: |