Last active
August 25, 2021 09:30
-
-
Save logeshvar/e212af5f5425defd614c28d04a7e93d9 to your computer and use it in GitHub Desktop.
For CentOS 7.x, the following is the firewalld configuration for Bahmni
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
# Run script with sudo privilege | |
# Install firewalld | |
yum install firewalld -y | |
# Stops and masks iptables if already running | |
systemctl stop iptables | |
systemctl mask iptables | |
# Enable and start firewalld | |
systemctl start firewalld | |
systemctl enable firewalld | |
# Remove the default dhcp service in default zone | |
firewall-cmd --remove-service=dhcpv6-client --permanent | |
# Add http, https and ssh services for Bahmni | |
firewall-cmd --add-service=ssh --permanent | |
firewall-cmd --add-service=http --permanent | |
firewall-cmd --add-service=https --permanent | |
# Add port to allow access to openerp Bahmni | |
firewall-cmd --add-port=8069/tcp --permanent | |
# Save the Configuration made | |
firewall-cmd --reload | |
# List all configurations for all zones | |
firewall-cmd --list-all |
Can you describe what all does this enable and what does it disable?
Added as comments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you describe what all does this enable and what does it disable?