[NTLUG:Discuss] use linux box with 3 NICs
Greg Edwards
greg at nas-inet.com
Tue Feb 27 19:37:18 CST 2001
m m wrote:
>
> >But is that your question?
> you are write. I should point out my question more clear.
> my question here is:
> Can I just use use one public address for this configuration?
> since I have only one ip address, I want some one can browse my web site and
> send e-mail to me.
>
> cable modem
> |
> firewall/router [64.1.1.1, public ip] <-use Linux box here
> | |
> | |- (public)webserver [private ip?] <--Linux or m$
> | |- (public)mailserver [private ip?] < Linux
> |
> |- private network [private ip] <Linux or m$
>
The short answer is yes. With the setup you've drawn you'd need to
setup the firewall/router to act as a NAT (Network Address Translation)
device. Use IP Masquerading (ipchains in 2.2.x kernel) to translate
between inside/outside addresses.
One problem you might have is in running servers on the back side of a
cable modem. Dig through the NTLUG archives since there have been many
discussions over this issue here. There are legal issues to consider as
well as static vs dynamic IP assignments.
--
Greg Edwards <greg at nas-inet.com>
More information about the Discuss
mailing list