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}.
π firewall-ids-capstone
βββ configs/ # pfSense firewall rules, Snort configs
βββ logs/ # Sample IDS alerts and logs
βββ docs/ # Reports, screenshots, diagrams
βββ README.md
-
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)
- Configured Snort to generate alerts for:
- Deploy pfSense in a VM or hardware firewall.
- Enable required network adapters and update pfSense.
- Install Snort via Package Manager.
- Configure Snort rules using Oinkmaster code.
- Assign interfaces (Untrusted, Trusted, DMZ) in Snort.
- Apply provided firewall rules in
configs/. - Simulate malicious traffic (Nmap, Xmas scans, FTP attempts) from Kali Linux.
- Review alerts and logs in
logs/.
- Firewall: pfSense
- IDS/IPS: Snort
- Tools: Nmap, Kali Linux (Xmas Scan, FTP attempt, Ping Sweep)
- Protocols: FTP, TCP/IP, DMZ segmentation
- β 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