Hmmm. Adding an entry to my HOSTS file is feasible (it's not likely I'll be adding computers to the network in the near future). If I do so, how does this affect my problem? It would clean up the name resolution for the internal network, but I would still need traffic to flow both ways - with HTTP, SMTP, and FTP going to my server (no other new incoming traffic is permitted).
The current problem is that the outside world cannot see my server (via IP address). Thanks for the support Kevin. Shawn -----Original Message----- From: Kevin Anderson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 11:40 AM To: [EMAIL PROTECTED] Subject: Re: (clug-talk) Need help with IPTables / router configuration If you're not going to have a dynamic network (Do you add and remove PCs every other day), then just add the Internal address to your HOSTS file (on the workstations). As for the Dynamic DNS stuff, they will have a utility that runs on the Windows desktop which tells them whenever your IP address changes. I'd contact them and ask for a Linux version. I'd be reasonably surprised if they didn't have one, especially for Red Hat, though I suspect it would be distro agnostic. Kev. ----- Original Message ----- From: "Shawn Grover" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 10:48 AM Subject: (clug-talk) Need help with IPTables / router configuration > 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. > > >
