The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Redirect ALL port 2083 requests to the server's hostname

Discussion in 'Security' started by Robbie McLeod, Jul 28, 2017.

  1. Robbie McLeod

    Robbie McLeod Registered

    Joined:
    Jun 12, 2017
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Ontario, Canada
    cPanel Access Level:
    Root Administrator
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,281
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello Robbie,

    There are no options included with cPanel & WHM that allow you to redirect requests when a user includes the port number in the URL. The existing redirect options are designed for access attempts to cPanel/WHM/Webmail using /cpanel, /whm, or /webmail in the URL.

    Is there a specific reason you prefer to redirect requests to the server's hostname? As of cPanel version 60, SSL certificates are available per-domain for services such as cPanel/WHM/Webmail with the use of the AutoSSL and Domain TLS features:

    What is Domain TLS - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
  3. Robbie McLeod

    Robbie McLeod Registered

    Joined:
    Jun 12, 2017
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Due to CSF not being able to block the proper IP address when using CloudFlare, and thus being able to try as many passwords as they want, (using a script to block IPs using CloudFlare's API only secures a single site from brute force) I want to restrict users to using a domain I control to log in so that I can use the CloudFlare API to secure it from brute force.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,281
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  5. Robbie McLeod

    Robbie McLeod Registered

    Joined:
    Jun 12, 2017
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Ontario, Canada
    cPanel Access Level:
    Root Administrator
    This is somewhat what I implemented, thank you. I blocked CloudFlare's IP ranges to those ports in CSF.
     
    cPanelMichael likes this.
Loading...

Share This Page