r/getumbrel • u/Sea-Raspberry7292 • 20h ago
Firewall
Any plans for a firewall? If not, is it possible to run one using the command line? With all the Synology hacking going on, I feel like you can't be too careful. I Use Tailscale but it would still be nice to white and black list ips and ip ranges and block unused ports. On the topic of blacklisting, does the system blacklist an ip with too many login attempts?
3
Upvotes
5
u/getumbrel 14h ago
Good questions! No plans for a firewall right now, but nothing on your Umbrel is open to the internet by default. There's no cloud relay and no ports to forward, and Tailscale connects only your own devices. Most of the NAS attacks went after devices that were reachable from the internet, so keeping it that way does a lot of the work. Tailscale's access controls also let you pick which of your devices can reach the Umbrel at all.
On logins, yes. After 10 wrong passwords or 2FA codes in a row from one device, it has to wait 1 minute before trying again, then 2, 4 and so on up to an hour per try. It's per device rather than a blacklist, so someone guessing can't lock you out from your own devices.
Your apps are protected too. Opening an app's address directly asks for your Umbrel login first, plus your 2FA code if you have it turned on, with the same limits on guessing. Family members only get into the apps you've shared with them. You can also see every logged-in device in Settings and log any of them out.
Under the hood, the system part of umbrelOS resets on every boot, updates are signed and roll back if they fail, and kernel features umbrelOS doesn't need are blocked to shrink what an attacker could use.
We'd steer away from adding your own firewall rules from the command line. They get reset on every reboot like u/Necessary-Juice481 said, and they can also easily clash with the rules your apps rely on and break them. Your router is the best place for blocking.
1
u/Necessary-Juice481 15h ago
Using the command line won't be possible, because the system is immutable. Tldr: every you manually modify using the cmd will reset on a reboot.