ispconfig behind firewall using NAT

Discussion in 'Installation/Configuration' started by bigger_travis, Nov 3, 2008.

  1. bigger_travis

    bigger_travis New Member

    hi, im stuck with something, i have tried so many things but i can't get ispconfig to work behind a firewall using nat..

    i have got a dedicated server from godaddy and a firewall in their package.. they provided a public ip, so when they provide me with the package, i got the firewall with a public ip 68.178.146.181 and on the server it has a private ip of 10.0.0.101 so when i get to the last point of the installation of ispconfig, it asks for the ip address and the hostname. so i type in the ip address 10.0.0.101 because if i try to put the public ip, it fails..

    after the installation is complete, this is the ip ispconfig has:
    [​IMG]

    so now that ipsconfig is installed with 10.0.0.101, when i add my domain names, in the dns manager, it add the ip address of 10.0.0.101. then i change the ip manually to the public ip, but no luck.

    [​IMG]


    whe i go to my domain name using my browser, it seems to be connecting to my local dsl router because im using the same class NAT address at my home.

    [​IMG]
    how can i get pass this?

    i also tried changing the ip address in ispconfig, from the private ip to the public ip, but id doesnt work either, i still get the same login prompt from my local router.
    [​IMG]

    any suggestions?
    is not possible to have ispconfig on a server with a NAT address?


    thanks
     
    Last edited: Nov 3, 2008
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    For the DNS records you must use the public IP address, but for the Apache vhosts you must use an IP address that you see in the output of
    Code:
    ifconfig
     
  3. bigger_travis

    bigger_travis New Member

    ill have to play wit it a little bit more. meanwhile, i had to get my site up, so i used their control panel. once the whole server was re-imaged, when i logged into their control panel for the first time, i got a message:

    so i did, and they had this tool where they make it work through a firewall mapping,

    [​IMG]

    does ispconfig have anything like that. if not, it would be good to have
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    You must configure this on your router.
     

Share This Page