top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

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

+2 votes
85 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.

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...