Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hybrid Public / Private IP setup

Discussion in 'Bind/DNS/Nameserver' started by Andrew Kay, Jan 16, 2018.

  1. Andrew Kay

    Andrew Kay Registered

    Joined:
    Jan 16, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    I'm in the process of setting up CPanel on a server for my office at work and I had a question regarding multiple IP setups that came from my boss.

    What my boss wanted to do was setup CPanel such that we have both a public IP for various public facing sites, but also setup a private IP on the CPanel server specifically for an intranet, and also to restrict access to the the web management console.

    I couldn't find any answers googling or searching here so figured I should ask. Can I run a WHM/CPanel server with both a public, and private IPs? If it can be done, are there any gotchas I need to watch out for? And yes, I know I can run a proper DMZ with existing routers to restrict access to private sites, but the question has been asked and he expects an answer. :)
     
  2. toshost

    toshost Member

    Joined:
    Dec 8, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangladesh
    cPanel Access Level:
    Root Administrator
    Do you want to show your website on Intranet only or Public also? If
     
  3. Andrew Kay

    Andrew Kay Registered

    Joined:
    Jan 16, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Depends on the site. We're considering right away an inward facing intranet site, and some outward facing sites. To my understanding that's easy enough to do, WHM afaik allows you to assign a client to a specific IP address. So we'd assign the intranet it's own account tied to the internal IP, the other sites tied to the external IP.

    Which of course comes back to, can we run a CPanel instance with both a public IP and a private (RFC1918) address?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Andrew Kay

    Andrew Kay Registered

    Joined:
    Jan 16, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Didn't know that CPanel/WHM supported NAT based setups. That'd work well, we'd only pass the http/https traffic through the NAT, the remaining services are blocked from the outside at the firewall.
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice