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.

Script To Run cPanel Behind NAT Private IP

Discussion in 'Workarounds and Optimization' started by jefferyw18, Jul 19, 2012.

?

Found This Script Usefull

  1. Yes

    5 vote(s)
    83.3%
  2. Somewhat

    0 vote(s)
    0.0%
  3. Nope

    1 vote(s)
    16.7%
  1. jefferyw18

    jefferyw18 Well-Known Member

    Joined:
    Apr 10, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vancouver BC Canada
    cPanel Access Level:
    DataCenter Provider
    I have taken 2 weeks to write this sucker paste it as /scripts/wwwacct_nat also dont forget to chmod it as 755
    If anyone wants to take the time to convert this sucker into perl or python go right ahead otherwise I welcome all feedback

    for the latest revision head over to github cpanelscripts

    https://github.com/cpanelscripts/wwwacct_nat
     
    #1 jefferyw18, Jul 19, 2012
    Last edited: Jul 19, 2012
  2. jefferyw18

    jefferyw18 Well-Known Member

    Joined:
    Apr 10, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vancouver BC Canada
    cPanel Access Level:
    DataCenter Provider
    updated script to check for dependencies before running
     
  3. jefferyw18

    jefferyw18 Well-Known Member

    Joined:
    Apr 10, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vancouver BC Canada
    cPanel Access Level:
    DataCenter Provider
    major rework to the code also now includes a built in update checker and finally got proxydomains working as well behind NAT (cpanel / whm / webmail / webdisk) this script is a MUST HAVE for anyone attempting NAT
     
  4. jefferyw18

    jefferyw18 Well-Known Member

    Joined:
    Apr 10, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vancouver BC Canada
    cPanel Access Level:
    DataCenter Provider
    still making updates to this script keep your copy up to date to have as little errors as possible and if you do have errors please pass them on to me so I can improve this script

    - - - Updated - - -

    keep in mind this must be run in SSH / CLI soon to come will be a WHM plugin
     
  5. jefferyw18

    jefferyw18 Well-Known Member

    Joined:
    Apr 10, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vancouver BC Canada
    cPanel Access Level:
    DataCenter Provider
    preparing a youtube demo video to go with this bad boy
     
  6. jefferyw18

    jefferyw18 Well-Known Member

    Joined:
    Apr 10, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Vancouver BC Canada
    cPanel Access Level:
    DataCenter Provider
    sorry about delay making the video to demo this script I was forced to move to a new house this month and also working on updating the code check back sometime this month and it should be up
     
  7. johntash

    johntash Registered

    Joined:
    Oct 8, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Does this script support multiple IPs behind a NAT? I haven't looked through the entire thing yet, but it looks like it might only check the primary/main ip?
     
Loading...

Share This Page