66124/how-to-change-iptables-policy
Hi Guys, I have my containers in CentOS VM. To expose my containers, I enabled ip_forwarding. But still I am not not able to connect. I searched a lot and came to know iptables is not allowing to connect. How can I solve this problem? Thank You
Hi@akhtar,
Docker uses iptables program in background. So along with ip_forwarding you have to change iptables policy.
$ iptables -nvL
$ iptables -P FORWARD ACCEPT
Hope this will work now.
Thank You
you cannot specify options both as a ...READ MORE
Hey @jenny, You can do the following in ...READ MORE
Adding to kalgi's answer, You can also ...READ MORE
In the earlier docker version this wasn't ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
To solve this problem, I followed advice ...READ MORE
Hi@akhtar, You can reconfigure the default bridge network ...READ MORE
Hi@akhtar, You can change the node availability according to ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.