Want to show your appreciation and help with hosting costs? Support us on Patreon!
Description: Docker iptables Rules
Submitted by dzhi on January 30, 2018

Rules (Text)

*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:FILTERS - [0:0]
:DOCKER-USER - [0:0]
-F INPUT
-F DOCKER-USER
-F FILTERS
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp --icmp-type any -j ACCEPT
-A INPUT -j FILTERS
-A DOCKER-USER -i enp0s31f6 -j FILTERS
-A FILTERS -m state --state ESTABLISHED,RELATED -j ACCEPT
-A FILTERS -m state --state NEW -m tcp -p tcp --dport 44344 -j ACCEPT
-A FILTERS -m state --state NEW -m tcp -p tcp -s xxx.xxx.xxx.xxx --dport 9200 -j ACCEPT
-A FILTERS -j REJECT --reject-with icmp-host-prohibited
COMMIT