Skip to content

Instantly share code, notes, and snippets.

@D4R4
Last active February 16, 2019 10:07
Show Gist options
  • Save D4R4/a796e907f7d47de37e3d630adce1062d to your computer and use it in GitHub Desktop.
Save D4R4/a796e907f7d47de37e3d630adce1062d to your computer and use it in GitHub Desktop.
Usefull for RHEL 7 and up
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --zone=public --permanent --add-port=5000/tcp
firewall-cmd --reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment