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

afrog-config.yaml中的代理参数无法生效 #36

Open
xxsmile123 opened this issue Nov 9, 2022 · 1 comment
Open

afrog-config.yaml中的代理参数无法生效 #36

xxsmile123 opened this issue Nov 9, 2022 · 1 comment
Labels
broadcast Good question, good answer.

Comments

@xxsmile123
Copy link

xxsmile123 commented Nov 9, 2022

使用ssr-command-client挂上shadowsocksr代理,无法成功走代理。地址:https://github.com/TyrantLucifer/ssr-command-client/
配置方式:
hattp://127.0.0.1:1080
socks://127.0.0.1:1080
socks5://127.0.0.1:1080
三种方式都不太行

@zan8in
Copy link
Owner

zan8in commented Nov 11, 2022

修改 afrog-config.yaml 配置文件 proxy 参数
http 代理填写
proxy: "127.0.0.1:1080"
带密码
proxy: "username:password@127.0.0.1:1080"

socks代理分为 socks4 和 socks5 ,分别这么填写

proxy: "socks4://127.0.0.1:10808"
proxy: "socks5://127.0.0.1:10808"

带密码

proxy: "socks4://username:password@127.0.0.1:10808"
proxy: "socks5://username:password@127.0.0.1:10808"

afrog 2.x 开始 已废弃 使用以上代理方式
新版:-proxy 参数设置代理,支持 html/socks5

@zan8in zan8in added the broadcast Good question, good answer. label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broadcast Good question, good answer.
Projects
None yet
Development

No branches or pull requests

2 participants