On Mon, Oct 24, 2022 at 06:54:43PM -0000, Andy Burns wrote:
Running Fedora36 workstation, I have the firewall config pretty much as I want in terms of zones/ports etc. One thing though, which I can't findwhether it's intentional or not ...
The firewall acts as though it defaults to blocking everything unless I'm logged in (on the desktop, or via SSH) but that means I can't first logon via SSH until after I've logged onto the desktop, then I can't logout from the desktop, otherwise then I can't get logged back via SSH.
If it should be like that, I'm quite surprised I can't see an option to make the rules apply regardless of whether i'm logged in?
Your distribution should start firewalld via init (systemd). This will make sure it's enabled:
# systemctl enable firewalld
Firewalld's default configuration _allows_ SSH.