Linux Mint 21.1 MATE firewall issues? Consider UFW or iptables options.
Linux Mint 21.1 MATE firewall issues? Consider UFW or iptables options.
You're experiencing issues with the ufw firewall not staying enabled after attempts to turn it on or off. The problem seems consistent across machines running 21.1 MATE, even after a clean install. It might be related to persistent configuration files or system settings. Consider checking for recent changes in the firewall rules or reviewing logs for clues. If the issue persists, revisiting the base system might help resolve it.
It seems the UFW firewall activates at startup as expected. But since you're using a VPN that disables UFW (likely via iptables), turning off the VPN should restore UFW functionality. The issue appears to be related to the VPN's interference with the firewall rules.
The command displays the current status of the UFW service after disabling the VPN.
I'm exhausted (it's almost 5:30 AM here) and I've been awake all night, so my thoughts might not be clear. I ran "sudo systemctl status ufw" and it showed something unusual: after rebooting, the VPN isn't open, but when I close the VPN it works again. Meanwhile, on another machine using Mint 21.1 MATE, I got the same message—"status: active"—even though the VPN was on, while my machine always shows "status: active." I'm trying to figure out why this is happening differently.