On my Ubuntu computer I have Iptables,ufw and gufw installed on it but I am trying to figure out if I need to remove one so I did a experiment and removed iptables and I saw ufw and gufw was removed automatically with iptables I reintall iptables and it did not automatically came with ufw or gufw I install gufw without installing ufw and ufw was install automatically with gufw It like there are all connected to function properly but that just a experiment I went a true answer?
The answer before mine is right. But let's see if we can make it sound simple.
iptablesis the main firewall. It talks to the kernel. It's more complicated.
ufwwants to make it "uncomplicated" ("ufw" stands for "uncomplicated firewall"). It talks to
iptables. It's a command line tool.
The G in Gufw must stand for "graphical", which should provide a click-click interface for
ufw. It talks to
ufw. It's a GUI.
Now I hope we could make out their functions and dependencies. ;-)
gufw is a graphical front end to ufw which is a front end to iptables.
So if you wish to use gufw, you need all 3 packages.
You can remove gufw and use ufw or gufw and ufw and use iptables.