This entry is very new in the tldr-pages project, hence translation data is currently unavailable for a while.


sshuttle

通过 SSH 连接传输流量的透明代理服务器。 不需要管理员或远程 SSH 服务器上的任何特殊设置。 更多信息:https://manned.org/sshuttle.

  • 通过远程 SSH 服务器转发所有 IPv4 TCP 流量:

sshuttle --remote=用户名@服务器名 0.0.0.0/0

  • 转发所有 IPv4 TCP 和 DNS 流量:

sshuttle --dns --remote=用户名@服务器名 0.0.0.0/0

  • 使用 tproxy 方法转发所有 IPv4 和 IPv6 流量:

sudo sshuttle --method=tproxy --remote=用户名@服务器名 0.0.0.0/0 ::/0 --exclude=你本地 IP 地址 --exclude=SSH 服务器的 IP 地址