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:
parent
ecc8297106
commit
795900053f
1 changed files with 16 additions and 0 deletions
16
pages.zh/osx/sshuttle.md
Normal file
16
pages.zh/osx/sshuttle.md
Normal 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地址}}`
|
Loading…
Add table
Reference in a new issue