Created
January 29, 2018 20:57
-
-
Save mattes/d2a6e227a488e308831d126688d0659b to your computer and use it in GitHub Desktop.
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
iptables -A OUTPUT -d 127.0.0.0/8 -j ACCEPT | |
iptables -A OUTPUT --dst redis -j ACCEPT | |
iptables -A OUTPUT --dst postgres -j ACCEPT | |
iptables -P OUTPUT DROP | |
iptables -L |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment