Created
July 12, 2017 05:14
-
-
Save koalamon/3ee963422c6c48fa59a566dca4e4bcd1 to your computer and use it in GitHub Desktop.
iptables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain FORWARD (policy ACCEPT) | |
target prot opt source destination | |
DOCKER-ISOLATION all -- anywhere anywhere | |
DOCKER all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
DOCKER all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED | |
ACCEPT all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere | |
REJECT tcp -- anywhere anywhere tcp dpt:27017 reject-with icmp-port-unreachable | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain DOCKER (2 references) | |
target prot opt source destination | |
ACCEPT tcp -- anywhere 172.18.0.3 tcp dpt:4444 | |
ACCEPT tcp -- anywhere 172.18.0.4 tcp dpt:27017 | |
Chain DOCKER-ISOLATION (1 references) | |
target prot opt source destination | |
DROP all -- anywhere anywhere | |
DROP all -- anywhere anywhere | |
RETURN all -- anywhere anywhere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment