Replies: 1 comment 4 replies
-
Say if your local http/https listening port is 8080: And |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
大家好。
目前我在使用一个老电脑做旁路由,使用 Xray 架设透明代理,用了好久了, 一切工作的还算好,这里 是我使用的 iptables 设置。
但是一直有个问题困扰我,没有解决。
就是当我使用 docker 或者 docker-compose 的时候,在 docker 中跑 wget 或 curl 的时候,总是因为墙的问题失败。
例如,下面的代码当 docker-compose build 的时候,使用 curl 访问 github 错误提示
但是,在本地主机直接跑(透明代理)却工作的很好, 即: 透明代理使用的 iptables rule 在 container 里面不工作。
请问,这种问题该如何解决? 谢谢!
Beta Was this translation helpful? Give feedback.
All reactions