Myts2 / redsocks-docker

10 stars 3 forks source link

Let another container use the redsocks container #3

Open christianmerges opened 2 months ago

christianmerges commented 2 months ago

Hi,

I tried to put https://docs.linuxserver.io/images/docker-webtop/ behind the redsocks container, by adding this to the docker compose file: network_mode: "service:redsocks"

I removed the "net host" variable on the redsocks container. It looks like traffic is going thru the redsocks container, but not thru the socks server, because the public ip address is the same.

I guess it has something to do with the firewall rules in the redsocks container, that the traffic is not redirected to redsocks.