LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-05-2003, 03:54 PM   #1
Golovko
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 23

Rep: Reputation: 15
General network connection question


I have until recently been satisfied with using a Linksys router to provide internet connectivity to my local network. It's firewall features though are starting to lack. I was wondering what would be the general setup if I wanted to setup a Linux box to give me more firewall options (ipchains etc.) with the linksys router still in place.

Broadband -> Linksys Router -> Linux Box -> rest of computers

My setup is I just want to be able to plug the Linux Box in and have it take over DHCP, so new leases will start looking to the linux box as their gateway. Then have the the linux box forward to the router and on to the internet.

Then I need to properly configure the linux box to route packets from local network to the router?

Will the Linux box have to run any NAT or forwarding?


Last edited by Golovko; 09-05-2003 at 04:02 PM.
 
Old 09-05-2003, 04:32 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
If you want to do it that way depending on how many computers you've got you'll have to get some more network cards or another switch/hub.


You could plug the linux into the modem and then the router using the uplink port into the linux but mine has never worked correctly like that - probably just my bad luck though

Or plug the linux into the modem and use the router as a switch plugging the linux into one of the normal switched ports which would now need two network cards in the linux.


You'll need to setup NAT though either way.
 
Old 09-06-2003, 02:32 PM   #3
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
I use an old computer 2 NICs and IPCop.
With that setup you can do away with the linksys router. Got my current router box from goodwill for $12 added one NIC (it came with 1) and IPCop and have a very stable router which uses iptables and the 2.4.21 kernel. IPCop is available at this site:

http://www.ipcop.org/cgi-bin/twiki/view/IPCop/WebHome

If you really want ipchains instead of iptables(?) you could get an older version of IPCop. I found the setup to be quite easy on the current version and it also provides a web based admin page to do configurations after it's setup.

Good luck to you
 
Old 09-08-2003, 02:20 PM   #4
mschrijn
LQ Newbie
 
Registered: Dec 2001
Location: Eindhoven, the Netherlands
Distribution: Redhat 8.0 / 9.0
Posts: 8

Rep: Reputation: 0
Agree,

You can do away with the LinkSys router, and just install a nearly "out of the box firewall/gateway/router", there are plenty.

I personally use Smoothwall ( http://www.smoothwall.org ), which delivers for example:
- firewall
- web proxy
- DHCP server
- VPN
- Intrusion detection system (snort)
- NAT / Port forwarding
- Possibility for a DMZ

Half an hour work, and you are set.

Good luck !
See ya
 
Old 09-08-2003, 02:39 PM   #5
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
mschrijn:

Hi have you looked at IPCop It is a GPL fork off of Smoothwall and, at least from some of the comparisons I've read, has more features. I used to use Smoothwall but switched to IPCop and have been very pleased with it (not that Smoothwall is bad)
 
Old 09-08-2003, 02:57 PM   #6
mschrijn
LQ Newbie
 
Registered: Dec 2001
Location: Eindhoven, the Netherlands
Distribution: Redhat 8.0 / 9.0
Posts: 8

Rep: Reputation: 0
No, I havenṫ.
I will though, thanks for pointing out
 
  


Reply



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
General Network and Printing help Malacandra Linux - Wireless Networking 2 09-01-2005 08:57 AM
General Network and Printing help Malacandra Linux - Networking 2 09-01-2005 08:54 AM
General Network Question Drakkath Linux - Networking 5 05-29-2005 04:57 AM
network crash and one general dhcpd question Clemente Linux - Networking 1 01-05-2004 11:56 AM
general network apache questions bturnip Linux - Networking 1 09-13-2003 10:54 AM

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

All times are GMT -5. The time now is 11:28 PM.

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