I've recently installed Red Hat 8 as a server/router. I've successfully configured IPTables to do NAT for my internal network. But now I also need to allow users to request pages from my web server.
My setup: 1 Win2K server (web/email), 1 W2K workstation, and 1 Linux server (two NICs). I need to allow web/email/ftp access to my server (ip 192.168.0.15), and be able to browse the Internet from both internal computers. My workstation should be able to see the server through it's domain name. I suspect I'm going to need SNAT instead of Masquerading, but need some guidance. As an added bonus/difficulty, my DNS is dynamic. I do DNS hosting through superreal.com, and they dynamically detect my IP address and modify the appropriate A record. When I was using RRAS on the W2K server (using my server as my router), this was working fine. As soon as I introduced the Linux router (because it's more stable, and less troublesome in terms of browsing the web), I lost my DNS setup. Any tips on how to configure this? Oh, I should mention that the RH box doesn't have X Windows installed. All configuration is done at the command line. (using VIM to create scripts). My research hasn't turned up anything very clear on how to do either the server hosting and NAT, or on the DNS issue (haven't looked into this one tooooo much yet...). I did look at IPCop and Smoothwall - they sound like they'll do what I need, but they refuse to recognize my second network card (two PCI DLinks/rtl8139). That all said, I'm a relative newbie to using Linux at this level. I'm slowly finding out where files reside, and how to configure the box at the command line. So, please include details in any response. Thanks. Any help, suggestions, or links to references are greatly appreciated. Thanks! Shawn Grover PS. I can forward my firewall script to you if needed, but it's a basic NAT configuration right now.
