-
Notifications
You must be signed in to change notification settings - Fork 39
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
[求助] 透明代理无法使用 #34
Comments
把 ~$ sudo systemctl enable --now cgproxy.service
Created symlink /etc/systemd/system/multi-user.target.wants/cgproxy.service → /usr/lib/systemd/system/cgproxy.service.
~$ wget www.baidu.com
--2021-02-04 00:14:03-- http://www.baidu.com/
Resolving www.baidu.com (www.baidu.com)... failed: Name or service not known.
wget: unable to resolve host address ‘www.baidu.com’
~$ cat /etc/cgproxy/config.json
{
"comment":"For usage, see https://github.com/springzfx/cgproxy",
"port": 10809,
"program_noproxy": ["v2ray", "qv2ray"],
"program_proxy": [],
"cgroup_noproxy": ["/system.slice/v2ray.service"],
"cgroup_proxy": ["/"],
"enable_gateway": true,
"enable_dns": true,
"enable_udp": true,
"enable_tcp": true,
"enable_ipv4": true,
"enable_ipv6": true,
"table": 10007,
"fwmark": 39283
}
~$ sudo systemctl disable --now cgproxy.service
Removed /etc/systemd/system/multi-user.target.wants/cgproxy.service.
~$ wget www.baidu.com
--2021-02-04 00:18:02-- http://www.baidu.com/
Resolving www.baidu.com (www.baidu.com)... 180.101.49.12, 180.101.49.11
Connecting to www.baidu.com (www.baidu.com)|180.101.49.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2381 (2.3K) [text/html]
Saving to: ‘index.html’
index.html 100%[===================>] 2.33K --.-KB/s in 0s
2021-02-04 00:18:02 (18.3 MB/s) - ‘index.html.3’ saved [2381/2381]
|
改完 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好!
这里无法运行透明代理,全都是按照教程一步一步操作的。
能帮忙看一下吗?谢谢!
流程
安装指令:
更改配置后运行:
配置(v2ray 的配置是 Qv2ray 生成的):
The text was updated successfully, but these errors were encountered: