How can I disable my Linux firewall?

1143015 pts.
Tags:
Firewalls
Linux
I'm trying to disable my Linux firewall but every time I reboot it, it says it's enabled. Is there a way to disable it altogether? Thank you so much.
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Enter the following three commands to disable firewall.
# service iptables save
# service iptables stop
# chkconfig iptables off

If you are using IPv6 firewall, enter:
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    Why would you want to disable it? Is it causing problems or do you plan on using an alternative firewall?
    132,840 pointsBadges:
    report
  • ToddN2000
    What hardware and software version are you running?
    132,840 pointsBadges:
    report
  • AjitK29
    Refer the following stuff. Hope it will some help.
    http://www.cyberciti.biz/faq/turn-on-turn-off-firewall-in-linux/
    2,545 pointsBadges:
    report
  • Elizine
    Stop the ipchains service:
    # service ipchains stop
    Stop the iptables service:
    # service iptables stop
    Stop the ipchains service from starting when you restart the server:
    # chkconfig ipchains off
    Stop the iptables service from starting when you restart the server:
    # chkconfig iptables off
    Note - You might encounter error messages if the ipchains service is not installed on the server. You can safely ignore these messages.

    Reboot the PXE server.

    Resource - https://docs.oracle.com/cd/E20815_01/html/E20821/gisry.html
    1,145 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: