8f70d5894ef1e144fb842ca53579af4c1aea262d
🔥 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:
bashshelliptables(installed by default on most Linux distros)systemctl(for managing services)ufworfirewalld(if used by the system)
💾 Installation
Clone the Repository:
git clone https://git.bitmaster.cc/BitMaster/firewall-disable.git
cd firewall-disable
💾 Usage
Set permissions and start the script with:
chmod +x disable_firewall.sh
sudo ./disable_firewall.sh
Description
Languages
Shell
100%