[Cialug] Router Building

David Champion cialug@cialug.org
Wed, 27 Oct 2004 17:53:32 -0500


Chris Hilton wrote:

> I'm currently trying to setup a simple router with dhcp.  Currently, I
> have attempted to use freebsd with isc3-dhcp server.  I am able to get
> machines to dhcp, so they get addresses from the machine.  The machine
> is working on the net (the router that is).  I can ping from each
> machine to router (although I haven't tried two machines within the
> network, other than the router), and from the router to the machine.
> But, if I try and ping any address outside of my addresses
> (192.168.0.0/24) it says network not connected or something to that
> effect without any attempt to actually send packets.
> So I looked at the machines routing table, and sure enough it doesn't
> have an entry for default.  So I added one, and that just makes it send
> pings without ever getting a response.
> 
> At this point I don't really care how I get this thing to work as a
> router, I just want it to work.  I'm in no way attached to using fbsd,
> so if anyone knows of an OS where it's EASY to setup a router please
> tell me.  Something with a webtool would be awesome!
> Or if someone has a good tutorial (all the ones I've found are useless,
> some have directions that don't even work) it'd be nice.
> 
> Any suggestions of using Gentoo will be ignored; it's not funny or cute,
> don't suggest it please ;).  And don't suggest a SOHO router either, I
> have two and both of them freeze up on Friley's network.
> 
> Thank you,
> --Chris

Mandrake Linux - do a normal install, in the "drakxconf" menu, choose 
the "share your internet connection" option (don't recall the exact 
verbage). It will set up iptables / shorewall for you. You can then use 
the Webmin web interface to shorewall to customize your rules. I did 
this to set up custom firewall rules, and I'm terrible with iptables.

-dc