This site contains affiliate links — we earn a commission if you sign up through them, at no extra cost to you.

CPGuard Firewall: How It Protects Hosting Servers from Network Attacks

CPGuard Firewall defends hosting servers against network-level attacks — from brute-force login attempts to volumetric DDoS.

CPGuard Firewall: How It Protects Hosting Servers from Network Attacks

What is CPGuard Firewall?

CPGuard Firewall controls network traffic at the IP and port level on hosting servers, working with Linux firewall tools (iptables/nftables) to block dangerous IPs, rate-limit connections, and protect critical ports including SSH (22), FTP (21), and SMTP (25). It coordinates with CPGuard WAF and Malware Scanner to provide comprehensive layered protection.

IP Blacklisting and Auto-blocking

CPGuard pulls IP blacklist data from leading threat intelligence feeds and updates automatically — pre-blocking IPs known to have attacked other servers worldwide. When CPGuard detects an attack from an IP not yet on any blacklist, it adds it automatically to local block rules and can contribute the data back to the central threat database.

Rate Limiting and Connection Throttling

Rate limiting caps the number of connections or requests per second from a single IP, applied per protocol type — HTTP requests, SMTP connections, SSH login attempts. When an IP exceeds the configured threshold, the system throttles or temporarily blocks it, preventing flood and small-scale DDoS attacks from overwhelming the server.

Port Control and Service Hardening

Servers commonly have unnecessary ports open. CPGuard Firewall helps close unused ports, reducing the attack surface. It also enables rules that restrict critical service access — for example, allowing SSH only from specific administrator IP addresses.

Basic DDoS Mitigation

CPGuard Firewall handles small-to-medium DDoS via rate limiting and connection throttling. Large volumetric DDoS that saturates the server uplink requires upstream mitigation from an ISP or CDN provider. At that scale, CPGuard serves as the final filtering layer for traffic that passes through upstream mitigation systems.

Firewall Logging and Monitoring

CPGuard Firewall logs every block event with timestamp, source IP, destination port, and reason — enabling administrators to analyse attack patterns, identify repeat offenders, and refine rules over time. The real-time dashboard provides a continuous security status overview.

GeoIP Blocking

CPGuard supports GeoIP blocking to restrict access from specified countries — useful for sites targeting Thai or Southeast Asian audiences that have no legitimate reason for traffic from certain regions to access admin areas or login endpoints, significantly reducing foreign bot noise.

Hosting with Server-Level Firewall

A properly configured server firewall is a critical part of secure hosting infrastructure. Ask providers how their firewall is configured and whether automatic threat blocking is in place. AsiaGB.com provides hosting and VPS with server-level security, SSD storage, DirectAdmin, 24-hour Thai support, and 99% uptime.

RecommendedAsiaGB.com — the hosting & VPS we use and recommend: servers in Thailand and Singapore, SSD storage, managed through DirectAdmin, with 24-hour Thai support and 99% uptime.

Editor's pick from our hands-on testing.

Visit AsiaGB →

Frequently Asked Questions

How does CPGuard Firewall differ from WAF?
CPGuard Firewall operates at the network level (Layer 3/4), controlling IP addresses and ports. WAF operates at the application layer (Layer 7), inspecting HTTP request content. Both work together as layered security covering attacks at every level.
What if my IP is accidentally blocked?
Contact your hosting provider to whitelist your IP. Server administrators can add IPs to the CPGuard Firewall whitelist immediately, preventing that IP from being blocked again.
Does CPGuard Firewall fully protect against DDoS?
It provides partial protection. Small-to-medium DDoS attacks that do not saturate bandwidth can be handled by rate limiting. Large volumetric DDoS attacks that overwhelm the server uplink require additional upstream mitigation from an ISP or CDN.
Can regular hosting users see CPGuard Firewall in DirectAdmin?
This depends on the provider. Some expose security status dashboards to individual user accounts; others manage security entirely at the server-admin level. Ask your provider what security interfaces are available to users.