top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to disable firewall through command line for a linux machine ?

+2 votes
515 views
How to disable firewall through command line for a linux machine ?
posted Sep 18, 2014 by Neelam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

You can use iptables( for more info see the manual page of iptables)
"sudo iptables -F" //execute it as a super user,

Or
"sudo ufw disable" //it do the work for you.
you can also check before disabling it, i.e firewall is active or inactive.
"sudo ufw status"

To use this you have to install "ufw" first, using
$ sudo apt-get install ufw

answer Sep 22, 2014 by Arshad Khan
Similar Questions
+6 votes

I suddenly pressed CTRL+Q as I am using Ubuntu Mint, but I want to get rigged of this situation.
Is there any undo shortcut for it or any possible answers.

...