You can block a specific IP address with the iptables command.
On a CentOS, CloudLinux, or RHEL 6, or Amazon® Linux system, use the iptables utility to manage your firewall. This example assumes that a DMZ exists on eth0 for the 192.168.1.1 port, and the 66.66.66.66 broadcast IP address.ĬentOS, CloudLinux™, or Red Hat® Enterprise Linux (RHEL) 6, or Amazon Linux firewall management.
The following examples explain how to add rules with ConfigServer Security & Firewall (CSF), Advanced Policy Firewall (APF), and the iptables utility.
MySQL uses this port for remote database connections.įor more information, read Apache’s DCC and NetTestFirewallIssues documentation.įor more information, read Apache’s Pyzor and NetTestFirewallIssues documentation. For more information, visit the Razor website. Razor is a collaborative spam-tracking database. For more information, read our How to Set Up iOS Push Notifications documentation. This will redirect users to secure ports with the /cpanel, /whm, and /webmail aliases.ĬPanel & WHM only uses this port for the Apple® Push Notification Service (APNs). Formerly known as “Always redirect to SSL/TLS” setting to On in WHM’s Tweak Settings interface ( WHM > Home > Server Configuration > Tweak Settings). To disable logging in via this port and only allow logging in via SSH, set the Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs.