Replies: 1 comment 1 reply
-
|
Hi @powerman, maybe you could use a unix socket instead of a TCP connection? Works with traefik: https://github.com/wollomatic/socket-proxy/wiki#using-socket-instead-of-tcp-example-with-traefik And thanks for reporting the "first CIDR works" bug. This will be fixed in the next release, see #105 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I'm using Netdata which needs both
network_mode: hostand access to docker.Because of this I have to publish socket-proxy port on localhost:
But this result in
-allowfromcheck apply to docker's gateway IP (e.g. 172.16.0.1) for requests sent to 127.0.0.1 on the host.As gateway IP may differ I don't like to hardcode it. I've tried this, but it doesn't work:
Any ideas how to make it work without
-allowfrom=0.0.0.0/0?BTW, another issue is only first CIDR in allowfrom actually works:
-allowfrom=0.0.0.0/0,127.0.0.1/32- this WORKS-allowfrom=127.0.0.1/32,0.0.0.0/0- this DOES NOT WORKBeta Was this translation helpful? Give feedback.
All reactions