-
-
Save anonymous/4ddd3144be89fd75a04d 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
mysql-server: | |
pkg: | |
- installed | |
require: | |
- pkg: mysql-server | |
iptables.append: | |
- table filter | |
- chain INPUT | |
- rule "-p tcp -s 10.0.0.0/24 -d {{ grains.ip_interfaces.eth1 }} --dport 3306 -j ACCEPT" | |
iptables.flush: | |
- table filter | |
iptables.save: | |
iptables.get_rules: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment