Security1/1/2026• 5 min read

Firewall & Intrusion Prevention (CSF)

CSF firewall, brute-force protection, and port hardening to lock down your server.

Ali Khaleghi

Systems Engineer

Firewall & Intrusion Prevention (CSF)

Overview

A properly configured firewall is your first line of defense. I deploy and tune CSF (ConfigServer Security & Firewall) with brute-force protection, port hardening, and country-level filtering to keep attackers out while keeping legitimate traffic flowing.

Security is not a product. It's a configuration.

What I Do

  • CSF Installation & Tuning: Install, configure, and tune CSF for your workload
  • Brute-Force Protection: LFD (Login Failure Daemon) for SSH, FTP, mail, panel
  • Port Hardening: Close unused ports, restrict management interfaces
  • Country Blocking: Block high-risk countries at the firewall level
  • Rate Limiting: Connection and SYN flood protection
  • Alerting: Email alerts for suspicious activity and lockouts

My Approach

  1. Assess (0-2h): Current firewall state, open ports, attack surface
  2. Configure (2-8h): CSF rules, LFD, country blocks, rate limits
  3. Test (8-12h): Verify legitimate traffic, panel access, mail flow
  4. Document (12-24h): Rule set documentation and alert tuning

Proof: CSF deployed, xmlrpc blocked on 54 sites, 7 C2 IPs blocked, brute-force mitigation across 57 accounts.

Pricing

Price range: 10–30M Toman
Turnaround: 6-24 hours
Includes: CSF install, tuning, brute-force protection, port hardening, alerting, documentation
Platforms: DirectAdmin, WHM/cPanel, cPanel
Follow-up: 7 days monitoring included

10000000–30000000 Toman6-24 hours
SecurityFirewallCSFBrute ForceiptablesDirectAdminWHMcPanel

Written by Ali Khaleghi

Building and rescuing servers since 2010.

Reviews (2)

CA
Client A★★★★★

Excellent work, fast turnaround.

2026-01-15

CB
Client B★★★★☆

Professional and reliable.

2026-02-20