ISPConfig, install issues and 1:1 NAT

Discussion in 'Installation/Configuration' started by Alocaurd, Mar 19, 2013.

  1. Alocaurd

    Alocaurd New Member


    I have installed ISPConfig in mulitserver setup as per the debian 6 server install instructions, and everything seemed to go without a hitch. I have since noticed a number of problems i cannot seem to sort out.

    I'll start out with my layout.

    I have an external IP block 199.XXX.XXX.163-174. These are setup as virtual IPs in PFsense, and forwarded with 1:1 nat to the appropriate machines.

    Inside, i have ws1(,199.XXX.XXX.163), ms1(,199.XXX.XXX.164), ds1(,no public IP), ns1(,199.XXX.XXX.165), and ns2(,199.XXX.XXX.166).

    1st issue, following the guide verbatim doesnt install webmail as it is suggested. would i install this myself on ws1 or ms1?

    2nd issue, much bigger, i cannot seem to use the DB server. right now, all sites are running off of the WS database. opening PHPMYADMIN from the control panel brings you to the WS database, not the DBserver database.

    3rd, just as annoying, i cannot seem to assign external IPs directly to a client. All the guides say to use internal IP addresses, but everything else says that a hosting panel needs external addresses directly assigned. I also read i need to remove * from any site's ip address, and when i remove it from 000-default, when accessing any assigned IP, i get the error "you are trying access https on the standard http port". As a workaround, i had to assign the dedicated address as an alias webdomain

    Let me know what logs or troubleshooting you would like to see.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Install it on the webserevr and configure it to connect to the mailserver.
    2) add the db server in the file of phpmyadmin.
    3) You mix up bridged and NAT setups. You have to assign the internal IP addresses in your case and not the external IP addresses in a NAT setup. External IP's are only assigned when you use a bridegd setup and dont use NAT like you do.
  3. Alocaurd

    Alocaurd New Member

    Thanks for the quick reply!

    1) I will give the webmail a go!
    2) I will give the php a go as well! and report back on both!
    3) I have a 1:1 NAT, and the machine does have an internal IP address, and all seems to work well. My question is just assigning other IPs directly to clients. Will i have to add another NIC and put it in the DMZ, or is there another way to do that?

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    3) If you have muliple external IP's, then you have to add the same number of internal IP's on your server (network card) and in ispconfig and configure your router to route the correct external Ip to the corresponding internal IP.
  5. Alocaurd

    Alocaurd New Member

    Thanks Till,

    I figured that would work, i just didnt want the client to see for their address on the panel instead of 199.XXX.XXX.172 etc. is there any way of changing this? Or is this the only way behind NAT. Nota huge issue, but would be nice nonetheless.


Share This Page