After long hours of dealing with trying to get my server work behind nat.
OK let explain my layout first.
Hardware:
1: Outside line is coming in to my Nokia checkpoint firewall.
2: From Firewall I have a DMZ unit.
3: From DMZ unit to Web/DNS Server.
Software Setup:
1: I have Domain name from my provider pointing to my DNS Server
ns1.domain.com external IP
ns2.domain.com external IP
2: I have firewall forwarding the external addresses to the internal addresses
192.168.88.3
192.168.88.9
(Make sure all CPANEL ports are open that you need to get through with firewall.)
3: Server has local IP address for it to get on network and to download cpanel.
4: Once cpanel is done you may not be able to access the box except only through SSH. Get on external machine from the network. I was unable to access internally.
5: So now I am out of the internal network I brought the default WHM link in the browser https://ipaddress:2087 and continued with the setup when you first install WHM. You may not beable to do much besides adds what it tells you to add. But once done we can go in and make our manual changes.
Configuring WHM:
1: First thing I did is add the 2 external IP addresses and the other internal IP address in the add/delete ip section.
2: Added the new hostname of the machine and the A records.
3: Then I activated the Nameserver cause we have made this a DNS server.
4: Setup section on the very top on left pane I went an added these settings.
Shared IP: I made one of my external addresses
NS1.domain.com assigned the default IP and Add the records
NS2.domain.com assign default IP's and add the records
5: Created an account with the domain we have changed the DNS with.
Now on to SSH:
I had to make alot of adjustments by hand in order for everything to work.
OK let explain my layout first.
Hardware:
1: Outside line is coming in to my Nokia checkpoint firewall.
2: From Firewall I have a DMZ unit.
3: From DMZ unit to Web/DNS Server.
Software Setup:
1: I have Domain name from my provider pointing to my DNS Server
ns1.domain.com external IP
ns2.domain.com external IP
2: I have firewall forwarding the external addresses to the internal addresses
192.168.88.3
192.168.88.9
(Make sure all CPANEL ports are open that you need to get through with firewall.)
3: Server has local IP address for it to get on network and to download cpanel.
4: Once cpanel is done you may not be able to access the box except only through SSH. Get on external machine from the network. I was unable to access internally.
5: So now I am out of the internal network I brought the default WHM link in the browser https://ipaddress:2087 and continued with the setup when you first install WHM. You may not beable to do much besides adds what it tells you to add. But once done we can go in and make our manual changes.
Configuring WHM:
1: First thing I did is add the 2 external IP addresses and the other internal IP address in the add/delete ip section.
2: Added the new hostname of the machine and the A records.
3: Then I activated the Nameserver cause we have made this a DNS server.
4: Setup section on the very top on left pane I went an added these settings.
Shared IP: I made one of my external addresses
NS1.domain.com assigned the default IP and Add the records
NS2.domain.com assign default IP's and add the records
5: Created an account with the domain we have changed the DNS with.
Now on to SSH:
I had to make alot of adjustments by hand in order for everything to work.
Last edited: