Is uncomplicated firewall just enough for standart user?
I mean I just watch videos and study, I download torrents aswell. There s something like that in archlinux wiki. Is it enough for me? There is another wiki page with "simple" stateful firewall. Very simple it seems.
About this post
- Posted
- Archived
- Score
- 25 · 88% up
- Kind
- Text
- ID
- ign3kl
15 comments
UFW should be enough for you. On basic level it's doing the same think what iptables - main firewall for kernel, but it's match easier to setup, simple commands. And it's is more transparent for standard user.
Simple and basic setup: ufw default deny, ufw enable, enable/start service - that's it.
Don't forget to allow SSH if that's how you connect to the server.
ufw limit (sshport)/tcp
There also is gufw, a simple gui to manage said commands
ufw is fine and is really designed for servers. For desktops or laptops you want firewalld, which has GUIs for KDE and probably Gnome etc.
You only need a local firewall if your machine is running something that is listening for connections. If you don't have any then you don't actually need a firewall.
didn't know firewalld had gui, there is also gufw (gui ufw) which is default on a lot of distros
Another thing a firewall can do is only allow the things to do outgoing connections that you allow. So if you're slightly paranoid, you might still want one.
if you are torrenting, you should protect yourself with vpn. You can google how to setup a firewall on arch and what a firewall actually does
A vpn isn't protection here. It's just trading one ISP for another.
That's why I laugh so hard at all the vpn ads right now. "protect your privacy". Lol. You're just trading one isp for another. You have only their word that they don't spy on you and sell your data.
Ufw works well, make sure to install gufw with it, much easier to config via the gui.
I've used it for years and it's served my needs for workstations and simple servers well enough. Drop incoming packets by default and open the one or two ports I need with a simple command.
I've not personally needed much more than that, but if I did the option to switch is always there.
For simple use cases, UFW should be enough for you.
I don't know a thing about firewalls (yet, wink wink) so I set it up using the arch wiki's stateful firewall protection instructions. Looks like it's working properly. Just be careful with the order the commands are written in, it's very important, but you can edit it later using nano/vim/whatevers.