Skip to content

Conversation

@martinmose
Copy link
Contributor

@martinmose martinmose commented Sep 3, 2025

I noticed UFW looked fine on first run but went inactive after a reboot.

What’s fixed

  • UFW was enabled with ufw --force enable but didn’t survive reboots because the systemd service wasn’t enabled
  • Added systemctl enable ufw so the firewall stays active after restart
  • Added a migration script (migrations/1756911131.sh) to fix this for existing installs

Why

Without the systemd service ufw status shows inactive after a reboot, leaving systems unprotected

Side note: SSH defaults

Right now SSH on port 22 is open by default. That feels a bit too open for Omarchy’s “sane defaults”?

Suggestion:

  • Don’t allow SSH by default
  • Recommend Tailscale first (omarchy-install-tailscale) before enabling port 22.
    (SSH can also work without opening port 22 by running: sudo tailscaled up --ssh)
  • Document how to enable SSH manually (e.g. ufw allow 22/tcp) for those who need it

@martinmose
Copy link
Contributor Author

@roberto-aguilar thanks a lot for the review. Good feedback. I have commited both.

@martinmose
Copy link
Contributor Author

This issue #1423 was created before the pull request - I just wanted to link them here for reference.

@dhh dhh changed the base branch from master to dev September 7, 2025 18:48
@dhh dhh merged commit 3d07560 into basecamp:dev Sep 7, 2025
@dhh dhh mentioned this pull request Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants