Linux disable or remove the iptables firewall
Q. How do I disable the iptables firewall in Fedora Core Linux?
A. Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.
If you are using RHEL (Redhat), Fedora core or Cent os just type following commands to disable the iptables firewall:
# service iptables save
# service iptables stop
# chkconfig iptables off
If you are using any other disro type the following command to clear up firewall rules:
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT
You may need to put above rules in a shell script and execute the same. Also remove your iptables startup script from your network configuration file such as /etc/network/interfaces. Look for post-up directive.
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Disable and Uninstall APF Firewall Script
- How to: Disable firewall on RHEL / CemtOS / Redhat Linux
- Howto disable the iptables firewall in Linux
- APF Linux Firewall Open Port 22 From Specific / Selected IP Address Only
- How do I Load / Start RHEL / CentOS / Fedora Linux Iptables Firewall on Computer Boot?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Today ~ 1 Comment
Today ~ 2 Comments
Yesterday ~ 9 Comments
Yesterday ~ 32 Comments
07/04/2008 07:04 pm (2 days ago) ~ 1 Comment