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 any mail server - Linux Tutorial
From the course: Linux: Firewalls and SELinux
Allowing any mail server
- [Sean] So you've setup a mail server on your Fedora server. Congratulations, that's great. You've probably got an IMAP server and a POP server and you've probably got SMTP running as well so you're going to need to open firewall ports or allow the traffic to those services so they can function properly and you're going to have the rest of the services restricted or at the very least you'll need these open in order for these services to function with any host that's not the actual server itself. Let's go ahead and do that. We start with adding services. So the command structure is we're going to be in a sudo session so there's root in the upper left as you can see here and we are going to issue the firewall-cmd --add-service= and then we have sort of a list of services that we're going to want to enable. We start with SMTP, because of course SMTP is necessary for sending mail. But SMTPS is necessary for sending mail over SSL. Again, different service different ports. And then SMTP…
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)
-
-
-
-