Questions about Network Design
Hey guys how are you all doing?
Im trying to learn how to host websites, create a DNS server and a mail server. Right now I am doing this at home via cable modem, but this is just for learning purposes. When I have some money I hope to setup a datacenter. But anyways heres my question. How can I have my webserver, DNS, and mailserver on my internal network? Is it possible? Right now I have the internet directly connected to my Iptables firewall which also serves as a DHCP server, therefore it has a public IP address. I want my webserver, DNS, and mail server to have internal IP addresses, so I can provide these services while using only one public IP address. I would think that I just have to setup a portforwarding rule in iptables. However, it did not work. For the webserver, I setup a rule that everything entering port 80 to forward it to 192.168.0.0:80. And if I made a rule like this would this disconnect my other computers on the 192.168.0.x network from acessing the internet?
I hope i didnt ramble on too much. I appreciate any help
pEaCe