A tutorial on installing Samba Server with SELinux and Firewalld enabled can be found on the Unixcop website.
Install Samba Server with Selinux and Firewalld Enabled
In this post, you will learn how to Install Samba Server with Selinux and Firewalld Enabled. For this post, we will use Rocky Linux 9, but actually the algorithm followed should work for other distributions, of course making the necessary modifications. Let’s start.
Install Samba Server with Selinux and Firewalld Enabled - Unix / Linux the admins Tutorials