reset - Docker Chains will be resetted by iptables -


actually have issues docker service. after few min, following rules deleted iptables.

iptables after:

chain input (policy accept) target     prot opt source               destination fail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh  chain forward (policy accept) target     prot opt source               destination  chain output (policy accept) target     prot opt source               destination  chain fail2ban-ssh (1 references) target     prot opt source               destination drop        --  x.x.x.x        anywhere return      --  anywhere             anywhere  chain trafficfilter (0 references) target     prot opt source               destination 

iptables before:

chain input (policy accept) target     prot opt source               destination fail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh  chain forward (policy accept) target     prot opt source               destination docker-user   --  anywhere             anywhere docker-isolation   --  anywhere             anywhere accept      --  anywhere             anywhere             ctstate related,established docker      --  anywhere             anywhere accept      --  anywhere             anywhere accept      --  anywhere             anywhere  chain output (policy accept) target     prot opt source               destination  chain docker (1 references) target     prot opt source               destination  chain docker-isolation (1 references) target     prot opt source               destination return      --  anywhere             anywhere  chain docker-user (1 references) target     prot opt source               destination return      --  anywhere             anywhere  chain fail2ban-ssh (1 references) target     prot opt source               destination drop        --  113.100.50.1         anywhere drop        --  200.77.191.71        anywhere return      --  anywhere             anywhere  chain trafficfilter (0 references) target     prot opt source               destination 

as can see, there few chains docker-user,isolation , more.. works 1-10 min after that, rules disappear.

did know issue or know how solve this?

okay found it. did service docker restart , after that, save correct iptables persistent rule.v4 file.

it works perfect now!


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -