LinuxQuestions.org
Review your favorite Linux distribution.
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 08-28-2006, 11:29 PM   #1
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Rep: Reputation: 30
Help finding a router distro for linux


Hey,

I'm looking for a linux distro that pretty well has all the iptables / modules / ect setup to be a router. If possible(if it exists) I'd love to find a distro that install fairly quickly and is pretty well setup or easy to setup so all I have to do is setup the ip tables and be done with it. Or setup my interfaces and let-er go.

I need a simple box that can route 2 diffrent subnets of ip blocks to one exteranl IP address.

If anyone knows of anything like this please let me know ! as it would save me a lot of time, and don't really have a lot of time on my hands as the dead line is closing in and I really don't want to buy a cisco router for such a simple / small job.
 
Old 08-29-2006, 02:25 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
If you don't want to buy a cisco then go for free cisco freesco

Regards
 
Old 08-29-2006, 04:24 AM   #3
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
maybe smoothwall would also be something for you.
have a look at their website: smoothwall.org
 
Old 08-29-2006, 04:39 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
This one is awesome

http://www.fli4l.de/
they have been also at the Linux-Days Event.
 
Old 08-29-2006, 04:50 AM   #5
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
and another

www.redwall-firewall.com
 
Old 08-29-2006, 05:29 AM   #6
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
IPCOP ipcop.org
 
Old 08-29-2006, 05:47 AM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
m0n0wall and pfSense are good however are both BSD-based and not linux.
 
Old 08-29-2006, 06:07 AM   #8
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
if you want to make dedicated ( old machine ) firewall go for ipcop , i have been using ipcop for almost 2 years, very stable and easy web interface

cheers 2 cent from me
 
Old 08-29-2006, 07:40 AM   #9
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Well, I was planning on doing this too. I know you said Linux but it is pretty close. You may want to try OpenBSD. It is really small and will run on a old machine and do fine. I installed OpenBSD to play with on a old 400MHz rig with 128MBs of ram. It only used about 30MBs.

As I said, it is not Linux but it is really secure.

 
Old 08-29-2006, 09:24 AM   #10
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Original Poster
Rep: Reputation: 30
Hey, my firwalls are already IP cop boxes but they come after the router I need.

Unless if anyone knows if IP cop can route this ? or route 2 diffrent subnets.

My network setup is as follows:

Hey,

Okay so here is my setup and I'm desprite for a router to be put in place to get it to work.

My ISP assigned me the following setup:

Interconnection: x.x.118.240
Our Router IP: x.x.118.241
Your ISP router: x.x.118.242
Subnet: 255.255.255.252


Ip Block:
x.x.43.33 to x.x.43.62
Subnet: 255.255.255.224

Now here is how the network is setup

Internet
|
|eth0
Router i'm trying to setup
|eth1
|
|-------Switch-------|
....|.........|..........|
....|.........|..........|__________1 computer
....|.........|
....|.........|
Firewall1 Firewall 2
....|...........|___Nat 192.168.90.x
....|
NAT 192.168.80.x

Now the problem is to get onto the internet you have to setup the router with:

eth0
IP: x.x.118.242
Subnet: 255.255.255.252
Gateway: x.x.118.241

eth1
IP: x.x.43.33
Subnet: 255.255.255.224
Gateway: x.x.118.242

The problem is my router can't negotiate the 2 subnets to get out onto the internet. After the router it hits a switch where each firewall will pickup 1 IP from the block, and the 3rd computer not behind the firewall is a kind of like lazy dmz computer or one that can have its own IP from the block hard coded into the systems TCP/IP

If anyone could help me on how to set this up so this will work if its possible that would be fantastic !, the more detailed the better.

The Freesco box only need to route as my servers do the DHCP. The Freesco box needs to be able to route the external ip on eth0 to eth1, and be able to route the 2 firewalls that will be grabing an ip from the ip block as well so each subnet is going out on its own IP.

I have yet to setup the Freesco box as I'm not sure if this can be done with it or not yet so i don't have a report.txt yet.

If it can be done please let me know or if someone coudl give me a ruff idea of what the routing table would look like in freesco let me know.

Thanks.
 
Old 08-29-2006, 11:11 AM   #11
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
Quote:
The problem is my router can't negotiate the 2 subnets to get out onto the internet.
hm, I think you don't need a special installation for that...
what happens, if you tell the two 'lan' network cards to route everything to the 'wan' one?
 
Old 08-30-2006, 12:09 AM   #12
Rustylinux
Member
 
Registered: Mar 2006
Posts: 177

Original Poster
Rep: Reputation: 30
Acutally found a distro that did a fantastic job of being just a router with some other options if needed like DHCP and such, but the distro works like a charm. It comes with all the routing protocals, and the dynamic settings for all the routing protocals pretty well will route most things as it routed my 2 nics like a charm right out of the box. Just had to setup the 2 nics. The first one with the extrenal ip address, and the 2nd one with my IP block.

Anyhow the distro is Vyatta and I also found Freesco which probably would of done it as well, but Vyatta worked like a charm !
 
  


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
nat vs linux distro router for security morphodone Linux - Security 11 02-09-2005 06:57 PM
I need help finding a linux distro (needs to be able to install from cd with no input Cobra133 Linux - Newbie 11 06-17-2004 09:03 AM
Need help on finding a Linux Distro. that works with my Hardware tillyoubreakit Linux - Hardware 1 10-16-2003 02:27 AM
Cisco Router with Linux Distro Gerardoj Linux - Networking 3 08-31-2003 08:44 PM
Help on finding Decent suitable linux distro for (1994) spec hamster Linux - Distributions 8 05-12-2003 02:33 PM

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

All times are GMT -5. The time now is 04:36 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