by kawsper · 4y ago · 0 comments
I accidentally opened up a Redis test-instance to the world like this.
So, if you're doing any filtering for internal network addresses == internal traffic, congratulations, now your inbound external IPV6 traffic is recognized as internal.
Assuming I add a rule via
`iptables -I INPUT -s 123.123.123.123 -p tcp --dport 8080 -j DROP`
and on interface:port 0.0.0.0:8080 of the host is a container listening which got run as
`docker run -d -p 0.0.0.0:8080:8080 some/server:latest`
Will that container still be accessible to 123.123.123.132?
I was bit by this once. Be very careful with docker. Do not rely blindly on your firewall of it runs on the same machine.
I'm not using --iptables=false but I'm not discounting the possibility that maybe I've configured this on a more global level somewhere.