LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-12-2006, 08:34 PM   #1
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Rep: Reputation: 17
Setting up a Firewall System


Hi,

I am planning to utilize a newly acquired old system as a firewall for my internal network. My current setup is as follows:

Code:
Internet -> DSL Modem --WAN Port--> First Router
                                   |
                                   |--> LAN Port to 4 Comps
                                   |
                                   |-- LAN Port --> 2nd Router
                                                    |
                                                    |
                        2 Laptops <-- Wireless AP <-|
                                                    |
                              LAN Port to 2 Comps <-|
As you can see, I've setup my connection from the first router to the second router through LAN-to-LAN rather LAN-to-WAN. I've disabled DHCP server on the second router AND the wireless AP but enabled it on the first router so all of the network gets their IP from the first router dynamically (except 2 comps that are hooked directly to the first router which are assigned static IP's).

Anyway, the reason for this was to have access to the first router's, second router's, and AP's admin setting interface from everywhere in the the network. I am planning to add a firewall machine between the DSL Modem and the first router and possibly throw an IDS on it as well to monitor all the incoming and outgoing packets to or from the LAN.

Now, in order to still have the above capabilities intact, that is to have all the machines in the network with the same CIDR (i.e. 192.168.2.*) and being able to access all routers' and AP's setting interface, how I should go about setting up the connection between the firewall machine and the first router? Does the connection from the firewall 2nd NIC has to go to a LAN port of the first router or is it still going to be connected through WAN port? In either case, how does a pseudo routing would look like? For instance, if the 2nd NIC --> LAN port of first router, do I need to specify Where each packet has to be routed or if I choose the 2nd NIC --> WAN port of the first router, would I have to only relay everything to it and the router would take care of delegation as before?

Any guidance would be much appreciated.
 
Old 03-13-2006, 12:22 AM   #2
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
I forgot to mention that I am not considering any sub-system or software for firewalling at this point. I just wanted to get help in regards to the hardware configuration and a way designing my network.
 
Old 03-17-2006, 06:45 PM   #3
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
So anyone wants to shed a light on this matter? I want to know whether I have to go Firewall --> LAN Port (first router) or Firewall --> WAN Port (first router) and let the router decides what to do with the packets. But in case of latter, wouldn't this render the Firewall acting only as a bridge? How does NAT'ing come to play in the equation in either of the cases? Oh, and also what about the DHCP settings on the routers? Do I need to enable/disable it?

Last edited by oxblood; 03-17-2006 at 06:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
firewall setting DanielTan Linux - Security 47 11-16-2005 11:09 PM
setting the firewall one_ro SUSE / openSUSE 2 02-17-2005 06:10 PM
Setting up a firewall myguest Linux - Security 5 08-02-2004 01:32 PM
setting up firewall/nat goldenbrodie Linux - Networking 2 02-25-2004 09:31 AM
Setting up firewall linuxfond Linux - Newbie 3 02-21-2003 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration