Networking Forums

Networking Forums > Computer Networking > Linux Networking > If I make my own Linux Router with Two NIC interfaces, do I have to enable NAT on that Router box?.

Reply
Thread Tools Display Modes

If I make my own Linux Router with Two NIC interfaces, do I have to enable NAT on that Router box?.

 
 
santa19992000@yahoo.com
Guest
Posts: n/a

 
      01-05-2005, 09:37 PM
I want to make my own Linxu Router Box to protect my home office from
outside, the Router box had two NIC interfaces (One NIC interface to
cable modem and other interfcae to 8-port switch), do I have to enable
NAT eventhough my second interface is connecting to 8-port switch (all
local computers connected to switch for Internet access) and I have
only one public IP address through cable modem?. Thanks in advance.

I am enabling the Routing from standard RH distro, Is there any
firewall protection supported in RH Distro or any other distro?.

 
Reply With Quote
 
 
 
 
Randy McLaughlin
Guest
Posts: n/a

 
      01-05-2005, 09:42 PM
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ps.com...
>I want to make my own Linxu Router Box to protect my home office from
> outside, the Router box had two NIC interfaces (One NIC interface to
> cable modem and other interfcae to 8-port switch), do I have to enable
> NAT eventhough my second interface is connecting to 8-port switch (all
> local computers connected to switch for Internet access) and I have
> only one public IP address through cable modem?. Thanks in advance.
>
> I am enabling the Routing from standard RH distro, Is there any
> firewall protection supported in RH Distro or any other distro?.



Firewalls and NAT support is in Linux. One program that gives you an easy
GUI interface is firestarter. It makes it easy to setup routing and
firewalls by generating the scripts for you.

Randy


 
Reply With Quote
 
manu
Guest
Posts: n/a

 
      01-05-2005, 10:00 PM
Of course, you have to. Whenever you have one public ip and want to
connect more than one machine to internet, you have to use NAT.

Probably you need some documentation to help you better understand NAT.
Try googling for NAT.
cheers,
Manu
----------
Manu Garg
http://manugarg.freezope.org

 
Reply With Quote
 
Thornton
Guest
Posts: n/a

 
      01-07-2005, 05:51 AM
Unless you have publicly accessible hosts on the other side of the
firewall (and routes to make sure traffic gets to them), you either
need NAT or a proxy on the firewall for the systems behind the firewall
to do anything useful.

thornton

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      01-08-2005, 09:30 PM
(E-Mail Removed) wrote:

> I want to make my own Linxu Router Box to protect my home office from
> outside, the Router box had two NIC interfaces (One NIC interface to
> cable modem and other interfcae to 8-port switch), do I have to enable
> NAT eventhough my second interface is connecting to 8-port switch (all
> local computers connected to switch for Internet access) and I have
> only one public IP address through cable modem?. Thanks in advance.
>
> I am enabling the Routing from standard RH distro, Is there any
> firewall protection supported in RH Distro or any other distro?.


If you have only one IP address from your ISP, you need NAT.

 
Reply With Quote
 
Bill Davidsen
Guest
Posts: n/a

 
      01-12-2005, 09:48 PM
(E-Mail Removed) wrote:
> I want to make my own Linxu Router Box to protect my home office from
> outside, the Router box had two NIC interfaces (One NIC interface to
> cable modem and other interfcae to 8-port switch), do I have to enable
> NAT eventhough my second interface is connecting to 8-port switch (all
> local computers connected to switch for Internet access) and I have
> only one public IP address through cable modem?. Thanks in advance.
>
> I am enabling the Routing from standard RH distro, Is there any
> firewall protection supported in RH Distro or any other distro?.
>

If you have a static IP you use SNAT out the public side, otherwise you
use MASQ for DHCP or similar variable IPs. This is discussed in the man
page. You want a paranoid firewall, I start by setting my INPUT and
FORWARD policies to DROP and going from there.

If you roll your own don't forget you need to accept some ICMP like
network-unreachable and needs-fragmentation. I haven't used any
firewalls but my own enough to recommend one, although I know people who
are happy with astaro.

--
-bill davidsen ((E-Mail Removed))
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux is using in SOHO Router, does STP supports incase if we need to enable on LAN ports GS Linux Networking 1 02-12-2007 09:12 PM
Any Documentaion about How Linux Networking IP stack looklike between Linux PC (single NIC card) and Router with multiple Network interfaces (LAN and WAN)? santa19992000@yahoo.com Linux Networking 0 02-11-2007 09:19 PM
Router with separate LAN interfaces Geir Holmavatn Windows Networking 3 08-05-2005 09:11 PM
Router with separate interfaces Geir Holmavatn Network Routers 0 08-05-2005 05:59 AM
How can I make Linux as "Real Router"? tvnaidu@yahoo.com Linux Networking 7 01-04-2005 07:23 AM



1 2 3 4 5 6 7 8 9 10 11