What you are looking for is IP Maquerading (also known as Network
Address Translation (NAT)). If you setup your DNS properly, then the
requests to the local http server will stay local, and if not, then they
will go outside (using IP Maquerading).
It is built into the default 6.1 kernel, but you
I have a small LAN of about 10 PCs at my friend's place in which one of the
PC has RedHat6.1 installed and is acting as a local intranet webserver. I
have configured some local domains in Apache for local use and it listens to
port 80. Now I wish to make this server as a gateway to internet for wh