From afcb93af97c6a06d86488fa8ee96f4ffbece2e2d Mon Sep 17 00:00:00 2001 From: PoriaMs <66954742+PoriaMs@users.noreply.github.com> Date: Sat, 11 Feb 2023 20:43:28 +0800 Subject: [PATCH] Update README.md --- README.md | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 014ad15..d8317c4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,42 @@ # vanish - Linux 全局代理脚本 +启动脚本以后,这台虚拟机上的外网的所有流量都会走代理,而不需要其他操作 -操作说明见博客:https://poriams.github.io/%E5%AF%B9-linux-%E5%85%A8%E5%B1%80%E4%BB%A3%E7%90%86%E7%9A%84%E6%8E%A2%E7%B4%A2/#%E8%8C%AF%E8%8B%93%E5%9F%BA%E4%BA%8E-gost-%E7%9A%84%E9%80%8F%E6%98%8E%E4%BB%A3%E7%90%86 +image-20230211192057582 + +##### 准备 + +需要先去下载对应平台的 GOST 二进制文件 + +image-20230211181516738 + + +##### 操作介绍 + +将 shell 脚本下载到本地以后,先用 `chmod +x vanish.sh`添加权限 + +image-20230211182136599 + +mix 选项 + +image-20230211182600235 + +tcp 选项 + +image-20230211182738383 + +udp 选项 + +image-20230211182815116 + +inner 选项,需要先开启前面其中一个选项,开启这个以后可以将自身流量代理进入内网 + +image-20230211191210894 + +off 选项,会关闭 gost 并且清除工具添加的 iptables 规则而不影响其他规则 + +image-20230211191442248 + +clean 选项,会删除日志,日志默认位置在`log="/tmp/vanish.log"`,可以自行修改