Whenever I bring up an new linux box, the first thing that I do is install ufw, close all ports and then selectively open the ports that I want open.
I checked the Librem 5 faq and didn’t see any entries pertaining to a firewall, so I was wondering how I should think about the relationship between the Librem 5 and a firewall.
Thanks!
Nope, the communication with the modem happens over USB via QMI and AT protocols. You can consider its network interface as a regular Internet connection (at least until MMS support is implemented, depending on what you want to filter out that may require allowing some stuff - but it’s not there yet anyway).
Other than “sudo ufw enable” does any rule need to be set, enabled, or disabled? (I normally use gufw, the graphical interface for ufw, and that probably doesn’t work on the L5, right?)
I read that ufw is based on iptables, but iptables has a successor: nftables. Now I wonder if ufe is still a significant simplification compared with nftables and if ufw is still based on iptables or has switches to nfrables. AFAIK nftables has an iptables compatible cli for ease of migration.
And if you are setting up firewall rules, you need to think about the two different network interfaces (the WiFi and the cellular modem) and whether there is anything that you want to be allowed in one and not the other.
You raise an interesting point, especially with respect to the WiFi. One could conceivably want to have a firewall setting for the home (or safe network) and other WiFi networks.