Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”₯ Firewall & IDS Capstone Project

πŸ“Œ Overview

This project was conducted as a continuation of client network security improvements.
The goal was to identify and log attacks against web and production servers by installing an Intrusion Detection/Prevention System (IDS/IPS) and configuring firewall rules.
The solution was implemented on pfSense with Snort to detect, alert, and block malicious traffic:contentReference[oaicite:0]{index=0}.


πŸ“‚ Project Structure

πŸ“‚ firewall-ids-capstone

β”œβ”€β”€ configs/ # pfSense firewall rules, Snort configs

β”œβ”€β”€ logs/ # Sample IDS alerts and logs

β”œβ”€β”€ docs/ # Reports, screenshots, diagrams

└── README.md


πŸ› οΈ Tasks Performed

  • System Preparation

    • Enabled Network Adapter 4 on pfSense to allow internet access
    • Updated pfSense to the latest version
  • Snort Installation & Setup

    • Installed Snort from pfSense Package Manager
    • Enabled Snort VRT rules with Oinkmaster code
    • Added Untrusted, Trusted, and DMZ interfaces under Snort configuration
  • Firewall Configuration

    • Created firewall rules to block FTP traffic from the Untrusted network to the DMZ
  • Custom IDS Rules & Alerts

    • Configured Snort to generate alerts for:
      • Xmas scan from Kali (Untrusted β†’ 10.200.0.12)
      • FTP attempts from Kali (Untrusted β†’ 10.200.0.12)
      • Nmap ping sweep from Kali (Untrusted β†’ 10.200.0.12)

πŸš€ How to Use

  1. Deploy pfSense in a VM or hardware firewall.
  2. Enable required network adapters and update pfSense.
  3. Install Snort via Package Manager.
  4. Configure Snort rules using Oinkmaster code.
  5. Assign interfaces (Untrusted, Trusted, DMZ) in Snort.
  6. Apply provided firewall rules in configs/.
  7. Simulate malicious traffic (Nmap, Xmas scans, FTP attempts) from Kali Linux.
  8. Review alerts and logs in logs/.

πŸ› οΈ Tech Stack

  • Firewall: pfSense
  • IDS/IPS: Snort
  • Tools: Nmap, Kali Linux (Xmas Scan, FTP attempt, Ping Sweep)
  • Protocols: FTP, TCP/IP, DMZ segmentation

πŸ“Š Results

  • βœ… Suspicious traffic logged in Snort for Xmas scans, FTP attempts, and Nmap sweeps
  • βœ… Firewall blocked FTP traffic from Untrusted β†’ DMZ
  • βœ… Enhanced visibility into attacks on production/web servers
  • βœ… Delivered a layered defense with IDS detection + firewall enforcement

⚠️ Disclaimer: This project was completed in a controlled lab environment. The tools and configurations are for educational and authorized use only.

About

Capstone project implementing firewall rules and IDS (Snort) for detecting and blocking malicious traffic.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors