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 - Linux Tutorial
From the course: Linux: Firewalls and SELinux
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
-
-
-
-
(Locked)
Firewall-cmd configuration preparation10m 15s
-
(Locked)
Allowing the Apache web server2m 54s
-
(Locked)
Allowing any mail server4m 6s
-
(Locked)
Allowing an XMPP server2m 59s
-
(Locked)
Allowing an SMB server3m 8s
-
(Locked)
Allowing an NFS server3m 33s
-
(Locked)
Allowing an LDAP server4m 49s
-
(Locked)
Allowing a PostgreSQL server3m 41s
-
(Locked)
Allowing FTP and SFTP servers4m 25s
-
(Locked)
VM Port Forwarding2m 4s
-
(Locked)
ShieldsUP! panic mode2m 35s
-
(Locked)
-
-
-
-