Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
linux disable remove the iptables firewall

Linux Disable / Remove The Iptables Firewall
#1
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 Linux just type following commands to disable the iptables firewall:
Quote:# service iptables save
# service iptables stop
# chkconfig iptables off
If you are using any other Linux distribution type the following command to clear up firewall rules:
Quote:# 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.



Dinesh Kumar Mohanty
Ultra Web Solutions®
Bhubaneswar, Odisha, India.

UltratechHost - Your One Stop Offshore & Onshore Hosting Provider
Server Locations : Netherlands, Germany, Russia, Singapore & USA
Service Offers: Shared hosting | Reseller hosting | Cloud server | Dedicated server | VPS Hosting



Forum Jump:


Users browsing this thread: 1 Guest(s)