-
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
和libvirt也冲突 #32
Comments
只要关闭 enable_gateway 网关模式就不会这样了,但是这样虚拟机也不会被代理了( {
"comment": "For usage, see https://github.com/springzfx/cgproxy",
"port": 12345,
"program_noproxy": [
"v2ray",
"qv2ray",
"/usr/lib/kdeconnectd",
"/opt/todesk/bin/todesk"
],
"program_proxy": [
"/"
],
"cgroup_noproxy": [
"/system.slice/v2ray.service",
"/system.slice/dnsmasq.service",
"/system.slice/smartdns.service",
"/system.slice/cloudflared.service",
"/system.slice/deluged.service",
"/system.slice/vsftpd.service",
"/system.slice/runsunloginclient.service"
],
"cgroup_proxy": [],
"enable_gateway": false,
"enable_dns": true,
"enable_udp": true,
"enable_tcp": true,
"enable_ipv4": true,
"enable_ipv6": true,
"table": 10007,
"fwmark": 39283
} |
但是如果想要虚拟机也被代理呢? |
在网关上透明代理吧,反正我已经买了5800x当软路由了。 |
我这里libvirt没问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://libvirt.org/firewall.html
说是会加IPtables规则……
总之libvirt随便启动一个虚拟机实例cgproxy就完蛋了……
顺便一提我在libvirt里用网桥。
他提了firewalld如果有的情况下,会去用firewalld。(看文档说是这样做不会影响其他程序的DNS)
但看起来cgproxy的DNS请求还是被劫持了……
The text was updated successfully, but these errors were encountered: