Skip to content

Instantly share code, notes, and snippets.

@mamedshahmaliyev
Created July 14, 2021 13:07
Show Gist options
  • Save mamedshahmaliyev/66cbfa6eee8bbed844031393739c4042 to your computer and use it in GitHub Desktop.
Save mamedshahmaliyev/66cbfa6eee8bbed844031393739c4042 to your computer and use it in GitHub Desktop.
firewall cmd
#!/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