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

基于squid正向代理才能访问外网,本机翻墙时如何修改配置? #873

Open
lk101 opened this issue Feb 29, 2024 · 4 comments

Comments

@lk101
Copy link

lk101 commented Feb 29, 2024

本项目提供多个软件和多项服务,请明确说明您反馈的问题是有关哪一个软件,或哪一个服务?

使用了ChromeGo一键翻墙包,能给个例子,我修改一下他们的配置就能正常使用翻墙吗?

比如clash.meta,我注意到它有一个config.yaml的配置文件,这里边可以设置前置代理吗?

如果可以的话,要怎么设置,希望能给一个例子,谢谢。

@lk101
Copy link
Author

lk101 commented Feb 29, 2024

是在proxies数组内第一个的位置加上我的squid代理配置吗?需要配置哪几个属性?name,ip,port是否足够?

@lk101
Copy link
Author

lk101 commented Mar 1, 2024

可以使用xray , squid代理 配置成 outbound,代替route里的第一个 freedom 出口

是这样改吗,如果不是的话,您能给个例子吗?

{
  //...
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "dongtaiwang3.com", // 这里换成squid的address
            "port": 443, // 这里换成squid的port
            "users": [ // 这里换成squid的user
              {
                "id": "7b671cd2-233d-406c-88da-1c687727dc52",
                "alterId": 0,
                "email": "[email protected]",
                "security": "auto",
                "encryption": "none",
                "flow": ""
              }
            ]
          }
        ]
      }
      //...
    }
    //...
  ]
  //...
}

@bannedbook
Copy link
Owner

前面说错了
你参考下这个
XTLS/Xray-core#2388
需要设置前置代理
给vless或者其它出口设置前置代理

@lk101
Copy link
Author

lk101 commented Mar 1, 2024

前面说错了 你参考下这个 XTLS/Xray-core#2388 需要设置前置代理 给vless或者其它出口设置前置代理

像我这种情况,是要把squid设置成其他代理(比如Xray)的前置代理是吗?

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

No branches or pull requests

3 participants
@bannedbook @lk101 and others