Created
July 14, 2021 13:07
-
-
Save mamedshahmaliyev/66cbfa6eee8bbed844031393739c4042 to your computer and use it in GitHub Desktop.
firewall cmd
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
#!/bin/bash | |
sudo firewall-cmd --permanent --zone=public --add-service=https --add-service=http | |
sudo firewall-cmd --permanent --zone=public --add-port=3306/tcp. | |
sudo firewall-cmd --reload | |
sudo firewall-cmd --permanent --list-all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment