PDF Version Available

This document is also available in PDF format: iptables.pdf

The PDF version includes bookmarks for easy navigation and is optimized for printing.

Accessibility Notice

This document is also available in HTML format at:

https://aholdengouveia.name/LinuxAdmin/labexcercises/iptables.html

The HTML version provides enhanced accessibility features including keyboard navigation, screen reader support, responsive design, dark mode support, and high contrast options.

Objectives:

Complete the following problems

References, a video, a PowerPoint and some notes are available at my website https://www.aholdengouveia.name/LinuxAdmin/iptables.html

Go through both servers and complete the following problems.

  1. Deal with web server (open needed ports, and forward port 80 traffic to 8080)
  2. Deal with MySQL service (open needed ports)
  3. Deal with SSH service (allow incoming and outgoing SSH, second script to deny SSH)
  4. Deal with Email service (Such as allow or block incoming SMTP,POP3...)
  5. Script to allow/block specific hosts, MAC addresses
  6. A script/command to block telnet, and another one to block ping

Write the specs for how you think you could prevent a DDOS attack using IPtables. Can you write a script for this? Cite your sources!

Deliverables

Target Market is someone trying to take care of your server that hasn't used IPTables before, assume some technical knowledge but not expertise. Screenshots are helpful to go with your descriptions.

Include documents for BOTH servers clearly labeled with what the document is and which server it's for