# 🔥 Disable Firewall and IPTables Script This script detects and disables active firewalls (`ufw`, `firewalld`) and flushes **iptables** rules on Linux distributions such as **Ubuntu**, **Debian**, **CentOS**, **RHEL**, and **Fedora**. It **prompts the user** before disabling any detected services, ensuring full control over the process. --- ## 📂 Prerequisites - **Supported OS:** - Ubuntu - Debian - CentOS - Red Hat Enterprise Linux (RHEL) - Fedora - **Dependencies:** - `bash` shell - `iptables` (installed by default on most Linux distros) - `systemctl` (for managing services) - `ufw` or `firewalld` (if used by the system) --- ## 💾 Installation **Clone the Repository:** ```bash git clone https://git.bitmaster.cc/BitMaster/firewall-disable.git cd firewall-disable ``` --- ## 💾 Usage **Set permissions and start the script with:** ```bash chmod +x disable_firewall.sh sudo ./disable_firewall.sh ```