ufw removal

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

ufw removal

Postby michaelp on Tue Feb 07, 2012 11:54 am

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?
michaelp
Level 1
Level 1
 
Posts: 9
Joined: Sat Nov 05, 2011 8:27 am

Linux Mint is funded by ads and donations.
 

Re: ufw removal

Postby Aging Technogeek on Tue Feb 07, 2012 12:08 pm

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).
Image

Registered Linux User 483387
User avatar
Aging Technogeek
Level 13
Level 13
 
Posts: 4605
Joined: Sun Jan 11, 2009 9:54 am
Location: Right about here

Re: ufw removal

Postby michaelp on Tue Feb 07, 2012 12:11 pm

superb, thank you!
michaelp
Level 1
Level 1
 
Posts: 9
Joined: Sat Nov 05, 2011 8:27 am

Re: ufw removal

Postby MavRik on Fri Oct 19, 2012 4:51 pm

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
===== System Specs ========================
Intel DZ77RE-75K, Intel i7-3770K CPU @ 3.50GHz,
HyperX 16GB, Crucial 256GB SSD x3,
Linux Mint 17
User avatar
MavRik
Level 1
Level 1
 
Posts: 27
Joined: Fri Sep 28, 2012 4:30 pm
Location: USA

Re: ufw removal

Postby Garvan on Fri Oct 19, 2012 9:53 pm

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
Desktop: Dell, Intel Core 2 Duo E7500 @ 2.93Ghz, 2GiB RAM, Linux Mint 13 Maya.
Net-book: SAMSUNG N148-Plus, 2x Intel Atom CPU N450 @1.66Ghz, 1GB RAM, lubuntu 12.04.
User avatar
Garvan
Level 4
Level 4
 
Posts: 273
Joined: Sun May 29, 2011 3:26 am
Location: Cambodia

Re: ufw removal

Postby MavRik on Sat Oct 20, 2012 1:53 pm

It sounds to me like, even after removing ufw I could still have connection issues as iptables is still running, right ?

Thanks.
===== System Specs ========================
Intel DZ77RE-75K, Intel i7-3770K CPU @ 3.50GHz,
HyperX 16GB, Crucial 256GB SSD x3,
Linux Mint 17
User avatar
MavRik
Level 1
Level 1
 
Posts: 27
Joined: Fri Sep 28, 2012 4:30 pm
Location: USA

Re: ufw removal

Postby altair4 on Sat Oct 20, 2012 2:30 pm

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 ) .
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5846
Joined: Tue Feb 03, 2009 10:27 am

Re: ufw removal

Postby MavRik on Sat Oct 20, 2012 2:44 pm

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
===== System Specs ========================
Intel DZ77RE-75K, Intel i7-3770K CPU @ 3.50GHz,
HyperX 16GB, Crucial 256GB SSD x3,
Linux Mint 17
User avatar
MavRik
Level 1
Level 1
 
Posts: 27
Joined: Fri Sep 28, 2012 4:30 pm
Location: USA

Re: ufw removal

Postby DrHu on Sat Oct 20, 2012 2:48 pm

User avatar
DrHu
Level 16
Level 16
 
Posts: 6630
Joined: Wed Jun 17, 2009 8:20 pm

Re: ufw removal

Postby MavRik on Sun Oct 21, 2012 5:08 am

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
===== System Specs ========================
Intel DZ77RE-75K, Intel i7-3770K CPU @ 3.50GHz,
HyperX 16GB, Crucial 256GB SSD x3,
Linux Mint 17
User avatar
MavRik
Level 1
Level 1
 
Posts: 27
Joined: Fri Sep 28, 2012 4:30 pm
Location: USA

Re: ufw removal

Postby borj07 on Thu Aug 15, 2013 10:07 am

have you tried to create your own iptables.rules?
borj07
Level 1
Level 1
 
Posts: 12
Joined: Thu Jun 13, 2013 9:13 am

Linux Mint is funded by ads and donations.
 

Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 0 guests