Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create proxy_user_build_record.md #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liuzou1991
Copy link

No description provided.

@wkgcass
Copy link
Owner

wkgcass commented May 24, 2020

server的部署有一键脚本,可以自动生成证书以及启动/重启服务,可以直接用。

start-vproxy-websocks-proxy.sh

拷贝脚本,然后执行即可。

客户端的部分可以参考。但是不够明确,比如配置文件修改了哪些地方,根据什么文档修改的。

我把这个pr的链接加到README_ZH.md里,有人要看的话可以直接点进来看。你后续如果有时间尽量完善一下,在你的仓库更新时这个PR的预览里也可以同时更新。

@@ -0,0 +1,144 @@
# 1.在自己的linux server上下载vproxy
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

服务端部署可以使用一键脚本 start-vproxy-websocks-proxy.sh


(当然,也可以不下载vproxy-linux这个二进制文件,而是自行下载jre-11或jdk-11,再下载vproxy.jar,`java -Deploy=WebSocksProxyServe -jar vproxy.jar`效果等同于`./vproxy-linux -Deploy=WebSocksProxyServe`)

# 2.自制证书
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用一键脚本时,证书会放在 ./vproxy/cert.pem 文件里。

proxy.server.list.end

proxy.domain.list.start DEFAULT
# /.*/
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对于使用switchyomega的,这个list直接配一个 /.*/,表示转发所有流量,即可。
具体规则可以在switchyomega里配。
不过我推荐把所有规则配到agent配置文件里,然后让所有流量经过agent。

[https://gitee.com/wkgcass/gfwlist/raw/master/gfwlist.txt]
proxy.domain.list.end
no-proxy.domain.list.start DEFAULT
baidu.com
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个列表是白名单。如果任意白名单的规则符合,那么就一定不会做代理。一般来说这个列表可以留空。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants