From the course: Linux: Firewalls and SELinux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Allowing an SMB server

Allowing an SMB server - Linux Tutorial

From the course: Linux: Firewalls and SELinux

Start my 1-month free trial

Allowing an SMB server

- [Instructor] SMB, or Samba, or CIFS even, is the standard file-sharing for Windows. And has been for a long time. And over time, it's been adopted by others. For example, the Mac OS for the last several years has been very very proud to say that their default file-sharing protocol is, indeed, Samba. In fact, it's Samba 3. So this is no surprise that now in Linux, that Samba file shares are not only supported, but it's kind of one of the most popular ways to store files and share them on a network. So you've got yours set up, and that's awesome. And you want to protect your server, so we need to set it up so that the Samba service is allowed through your firewall. So let's look at how to do that. So the first thing I'm going to do is I'm going to arrow up to firewall-cmd space --get-services. This is going to list out all the services, and you can see printed very clearly in front of us that samba and samba-client are right there. These are all listed out alphabetically, and if you…

Contents