BuycPanel Blog

BuycPanel Blog

Latest news and updates

7/09/2015 – Can Others Access cPanel & WHM Behind a Firewall?

Posted by Jamison on 09 07 2015.

System administrators place firewalls to servers to protect your website.  It repels hackers and other unwanted crawlers from visiting your site.  However, note that it is still possible for others or for you to access cPanel and WHM despite the looming strict security of firewall.

 

This can be useful when you are locked out of your own cPanel admin page either by failed multiple passcode attempts or blocked IP address possibly due to identified brute force by the system.  If you can access your cPanel admin from another computer, the issue may likely be with the host server.  As such, you may try to resolve this issue with your hosting provider.  It could just simply be that a firewall is blocking ports 2082, 2083, 2095, and 2096.

 

A common way to bypass firewall is by using proxy service.  This will provide access to cPanel and WHM at port 80.

 

Other users can circumvent…

System administrators place firewalls to servers to protect your website.  It repels hackers and other unwanted crawlers from visiting your site.  However, note that it is still possible for others or for you to access cPanel and WHM despite the looming strict security of firewall.

 

firewall-icon-370x250This can be useful when you are locked out of your own cPanel admin page either by failed multiple passcode attempts or blocked IP address possibly due to identified brute force by the system.  If you can access your cPanel admin from another computer, the issue may likely be with the host server.  As such, you may try to resolve this issue with your hosting provider.  It could just simply be that a firewall is blocking ports 2082, 2083, 2095, and 2096.

 

A common way to bypass firewall is by using proxy service.  This will provide access to cPanel and WHM at port 80.

 

Other users can circumvent through connecting to port 2082 by using the syntax below:

 

http://domain.com/cpanel

 

However, port 2082 is generally considered as an uncommon port and may likely just be blocked by the firewall.  As such, users can simply use the features below for cPanel and WHM to connect using an uncommon port:

 

  • domain.com
  • domain.com

 

To activate this feature, navigate to the Tweak Settings under Server Configuration and select “On.”  You may do this to both “proxy subdomains” and “proxy subdomain creation.”

 

There are also other alternative syntax to access cPanel.  With these, you can access your account hosted on the cPanel server.

 

  • http://server.primarynameserver.com/cpanel
  • https://server.primarynameserver.com:2083
  • http://server.primarynameserver.com:2082
  • https://login.server.primarynameserver.com
  • http://login.server.primarynameserver.com

 

The “server” represents the name of your server while the “primarynameserver” is the main name server of your account.

 

Meanwhile, you can explore setting up your own proxy server.  Check if your cPanel host provides proxy server application.  You can then install it through the cPanel interface using the following steps:

 

STEP 1: Navigate to the Advanced Section on your cPanel interface.  You will see icons including Error Pages, Apache Handlers, Cron Jobs, and MIME Types.  If your host provides proxy server application, this should appear in this section.

 

STEP 2: Select the particular proxy server application icon.  This will bring you to an “Account Creation” page.

 

STEP 3: The application will generally ask you to agree to a Terms of Service and require you to type in your Email Address.

 

STEP 4: Proceed on inputting your account details and click “Create Account” to finish creating your proxy server account.

 

STEP 5: You will see that your domain is added to the proxy server’s dashboard.  Implement changes to the URL of the proxy domain by clicking “Edit” link located right next to the domain entry.  Save the changes.

 

Lastly, you can try accessing your cPanel and WHM using another connection or public network by disabling non-SSL login.  This is useful if you are always on the road as it allows you to access your website via unsecured ports.  You may read the details at Disable Non-SSL Login for cPanel.