Skip to main content

IPv6 blocking, country blocking and access

Comments

2 comments

  • ::Gomez::
    HI, OETC, welcome to the forum :) I"l try to do my best on all of your questions. [QUOTE] 1) I want to use cPHulk to block countries from logging into the server as I found a few countries (China and Russia) at the top of the list of attackers of my system. I only log in from Canada so wanted to block all countries in the "Country Blacklist" except Canada; however what I don't know is: When I block a country, am I blocking their access to my servers websites and any services or am I just blocking WHM/CPanel logins?
    First of all I would like to make a difference here.. cphulk doesnt works like a firewall... cphulk is just a brute force protection, that will prevent bots from guessing a password. after x ammounts of failed logins it will block the IP. If you decide to block an entire country, this will prevent anyone from that country, to login to cpanel services. that includes FTP/SFTP/SSH/CPANEL/WHM etc... Users from blocked countries will still be able to access your websites normally. When you are inside a blocked country, login will be completely disabled, also when using correct credentials. [QUOTE]2) I am in Canada but the server is located in Huston Texas. If I block the US from the Country Blacklist (as many attackers from US), will that cause problems considering the location of the server? And again, will I be denying US IP's access to the websites on the server..
    The answer is yes. I dont recommend you to block the country where your server is hosted at. nor your country.. keep that as "default". you can block the rest if you wont login from that locations. (be sure none of your clients travel to that blocked country list..) [QUOTE]3) I noticed many attackers do not have a country code listed. Their IP's are detailed as all zeros 000:000.. etc or IPv6. Without actual listed IP's or country codes, how could I stop them from brute force attacks. NOTE: I am on a Dynamic IP myself, so cannot just whitelist myself and blacklist others as my IP changes daily.
    Usually, cphulkd manages to succesfully block all the brute force attacks/attempts. if you feel that the attacks comming from no sense IPS are not getting blocked, you should consider a more robust cloud solution like bitninja for example.. there are lots out on the market. (bitninja, imunify365, etc...) [QUOTE]4) This is a really basic question, I apologies in advance. If I change the username and/or password of my WHM login, will that bugger up any access to other areas of the server, like the Mailman or databases? I am reluctant to change the password for WHM due to the fear I will lock myself out or break the mailman or databases for the packages on the server.
    No, you can change that password safely without having any issue on other services. - Removed Soliciting Users is Not Permitted -
    0
  • cPanelMichael
    Hello @OETC, Welcome to the cPanel Forums!
    ) I want to use cPHulk to block countries from logging into the server as I found a few countries (China and Russia) at the top of the list of attackers of my system. I only log in from Canada so wanted to block all countries in the "Country Blacklist" except Canada; however what I don't know is: When I block a country, am I blocking their access to my servers websites and any services or am I just blocking WHM/CPanel logins?

    cPhulk monitors the following services for failed login attempts:
    • cPanel services (Port 2083).
    • WHM services (Port 2087).
    • Mail services (Dovecot" and Exim).
    • The PureFTPd service.
    • Secure Shell (SSH) access.
    cPHulk does not monitor Apache (the web server your websites run on) for failed login attempts. The only scenario where it will prevent someone from accessing the websites on your server is if an IP address triggers a brute force protection due to failed login attempts to one of the monitored services and the Block IP addresses at the firewall level if they trigger brute force protection option is enabled in your GEO IP Database FAQ
    0

Please sign in to leave a comment.