Join Sean Colins for an in-depth discussion in this video Allowing any mail server, part of Linux: Firewalls and SELinux.
- [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 submission is also going to be required…
- Working with iptables
- Installing Firewalld
- Exploring zones and services
- Allowing the Apache web server
- Allowing FTP and SFTP servers
- Installing SELinux utils
- Setting discretionary or mandatory access
- Installing SELinux man pages
- Working with Booleans
- Changing context labels
- Running sepolicy
- Finding SELinux logs
- Making domains permissive
- Disabling and reenabling SELinux
Skill Level Intermediate
Linux: Multitasking at the Command Linewith Scott Simpson39m 1s Intermediate
1. Firewall Basics on Linux
2. Configuring Firewalld for Local Protection
3. SELinux Fundamentals
4. Working with SELinux
5. SELinux Troubleshooting
Next steps3m 4s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.