1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-08 06:33:35 +02:00

sshuttle: add Chinese translation

This commit is contained in:
wizarot 2019-03-15 11:45:01 +08:00 committed by Owen Voke
parent ecc8297106
commit 795900053f

16
pages.zh/osx/sshuttle.md Normal file
View file

@ -0,0 +1,16 @@
# sshuttle
> 通过 ssh 连接传输流量的透明代理服务器.
> 不需要管理员或远程 ssh 服务器上的任何特殊设置.
- 通过远程 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地址}}`