Page 1 of 1

ufw removal

Posted: Tue Feb 07, 2012 11:54 am
by michaelp
I want to disable the default firewall which I guess is ufw? Actually I want to remove it and use a different firewall I found in software manager, what all do I need to remove so I can use a different firewall?

Re: ufw removal

Posted: Tue Feb 07, 2012 12:08 pm
by Aging Technogeek
The easiest way is to open a terminal and enter

Code: Select all

sudo apt-get purge ufw
Then enter your password and ufw will be erased.

If you are hesitant to use the terminal, open Synaptic Package Manager, enter ufw in the quick search box, click on the entry, and select "Mark for Complete Removal". Click "Apply" and click "Apply" again in the "Summary" window and ufw will be removed along with gufw (the gui).

Re: ufw removal

Posted: Tue Feb 07, 2012 12:11 pm
by michaelp
superb, thank you!

Re: ufw removal

Posted: Fri Oct 19, 2012 4:51 pm
by MavRik
Wondering if UFW is the only firewall on Linux Mint ?
I am trying to just use FireStarter, but if I can't get connections to work can it be iptables etc ? some other firewall ?

Thanks

Re: ufw removal

Posted: Fri Oct 19, 2012 9:53 pm
by Garvan
ufw is a configuration utility for iptables, and it is disabled by default in Ubuntu and Mint.

If UFW is activated, then this link will tell you how to shut it down:
https://help.ubuntu.com/community/UFW

My understanding is that FireStarter is a more powerful GUI alternative to UFW.

Garvan

Re: ufw removal

Posted: Sat Oct 20, 2012 1:53 pm
by MavRik
It sounds to me like, even after removing ufw I could still have connection issues as iptables is still running, right ?

Thanks.

Re: ufw removal

Posted: Sat Oct 20, 2012 2:30 pm
by altair4
netfilter and iptables are always running. I'm not sure you can run Linux without iptables running.

ufw creates rules that are applied to iptables when ufw is running. They do not become part of iptables permanently. So one would create rules using ufw and then have them applied at every boot by issuing a:

Code: Select all

sudo ufw enable
If you don't want the rules created by ufw applied to iptables at every boot then issue a:

Code: Select all

sudo ufw disable
There's really no need to purge your system of ufw - just disable it.

One caution about Firestarter: Firestarter has in the past always interfered with Samba in unexpected ways. Even removing it was a troublesome task. It is also no longer maintained ( just repackaged ) and hasn't been updated since the Eisenhower administration ( that might be a slight exaggeration ) .

Re: ufw removal

Posted: Sat Oct 20, 2012 2:44 pm
by MavRik
Actually the application I am having issues connecting to is MySQL...
Samba seems to be working fine, it's a shame about firestarter, it's one of the best firewall configs I've seen, in simplicity of course,
I am a programmer, I don't want to have to go get a degree in security just to get MySQL connected lol !

Thanks Altair !

So how do we manage netfilter & iptables for consistancy assuming they exist ?,
because I (# service iptables status) and got "netfilter: unrecognized service"...
same with iptables, they don't exist according to Mint,

Thanks

Re: ufw removal

Posted: Sat Oct 20, 2012 2:48 pm
by DrHu

Re: ufw removal

Posted: Sun Oct 21, 2012 5:08 am
by MavRik
Part of the problem is that I'm almost sure I am fighting two problems at once I need to isolate the issues,

Any way to disable iptables ?
Do iptables still run off of hosts.allow files ?

As I understand it, firestarter and ufw regulate traffic only while the gui's are running, right ?

Thanks

Re: ufw removal

Posted: Thu Aug 15, 2013 10:07 am
by borj07
have you tried to create your own iptables.rules?