返回信息流-D [bind_address:]port
Specifies a local “dynamic” application-level port forwarding. This works by
allocating a socket to listen to port on the local side, optionally bound to the
specified bind_address. Whenever a connection is made to this port, the
connection is forwarded over the secure channel, and the application protocol is
then used to determine where to connect to from the remote machine. Currently
the SOCKS4 and SOCKS5 protocols are supported, and ssh will act as a SOCKS
server. Only root can forward privileged ports. Dynamic port forwardings can
also be specified in the configuration file.
ssh -D 9999 foo.com
然后在firefox中把代理设为socks5: localhost:9999就可以把foo.com做为浏览器的socks5代理了
不支持socks代理的浏览器可以装个privoxy
不知我old没有..
这是一条镜像帖。来源:北邮人论坛 / linux / #36286同步于 2008/2/19
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Linux机器人发帖
ssh端口转发
sunway
2008/2/19镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。