[olug] home network

Jonathan Warren thechunk at cox.net
Thu Aug 15 14:21:37 UTC 2002


I think DIT sells a cable router clone that is quite a bit cheaper than linksys.

It is easy to configure a 2.4.x kernel to foward packets.  It is hard to configure it is a strong firewall however.  
/sbin/modprobe iptable_nat
/sbin/modprobe ipt_MASQUERADE
/sbin/modprobe ip_nat_irc
/sbin/modprobe ip_conntrack_irc
/sbin/modprobe ip_conntrack_ftp
/sbin/modprobe ip_nat_ftp
/sbin/modprobe iptable_filter

/usr/sbin/iptables -v -t nat -F
/usr/sbin/iptables -v -F
/usr/sbin/iptables -v -t nat -P POSTROUTING ACCEPT
/usr/sbin/iptables -v -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/usr/sbin/iptables iptables -A OUTPUT -m state -p icmp --state INVALID -j DROP

/usr/sbin/iptables -v -t nat -L
echo 1 > /proc/sys/net/ipv4/ip_forward

Think this will make it a router.  Don't know anything about windows however.  Make sure internal and external networks are only connected via router ( linux box ) because the traffic shouldn't overlap.

Crossover cables are cheap or you can come to my house and take my 10 mbit hub I don't use anymore or you can buy one from dit for 20.00.  I once had an adapter you could plug into a normal cable and make it a crossover cable.  Think you can buy those real cheap from network supply catalogs.

Good luck.


On Wed, Aug 14, 2002 at 07:30:39PM -0500, Jeff Hinrichs wrote:
> You don't happen to have an old 486 with a couple nic's sitting around do
> you?
> If you did then you could use something like freesco http://www.freesco.org/
> to make a dedicated router box.
> 
> -Jeff
> 
> ----- Original Message -----
> From: "Nate" <tbrownarcher at cox.net>
> To: <olug at olug.org>
> Sent: Wednesday, August 14, 2002 7:09 PM
> Subject: Re: [olug] home network
> 
> 
> > Yep! It's money!  I need to conserve right now and I have the cards so i
> > figgered I could get this working like this.  Yes I have a Cox connection.
> I
> > may have to find a router somewhere a little cheaper or something.
> >
> > thanks,
> > Nate
> >
> > Jeff Hinrichs wrote:
> >
> > > Nate,
> > > Do you have a broad band connection (cable/dsl)?  If so, do yourself a
> favor
> > > and buy a linksys router.
> > > If your dual boot machine is going to serve as the gateway you'll need
> to do
> > > it twice, once in *nix and once in doze.
> > > It ain't worth the hassle when you can get a 4 port 10/100 switch/router
> for
> > > ~$100.
> > >
> > > I know money doesn't grow on trees but sometimes that hassle isn't worth
> it,
> > > especially if the computer routing is going to be booting back and
> forth.
> > >
> > > -Jeff
> > >
> > > ----- Original Message -----
> > > From: "Nate" <tbrownarcher at cox.net>
> > > To: <olug at olug.org>
> > > Sent: Wednesday, August 14, 2002 5:54 PM
> > > Subject: [olug] home network
> > >
> > > > I finally got linux on theinternet.  I'm into something new now.
> > > > I have a dual boot system with windows on the other side, 2 nic cards
> > > > one of which is connected to the internet and the other I wish to
> > > > connect to my second computer in a network. The other computer is a
> > > > single boot system with windows and one nic card I wish to connect to
> > > > the first computer in a way that I can read and write both direction
> and
> > > > can get on the internet with both computers.
> > > >
> > > > Is this possible without a hub or router?  If not at the very least I
> > > > want to be able to talk back and forth between the two computers in a
> > > > home network and would reluctantly settle for only the one uning the
> > > > internet.
> > > >
> > > > Thanks very much,
> > > > Nate
> > > >
> > > > _______________________________________________
> > > > OLUG mailing list
> > > > OLUG at olug.org
> > > > http://lists.olug.org/mailman/listinfo/olug
> > >
> > > _______________________________________________
> > > OLUG mailing list
> > > OLUG at olug.org
> > > http://lists.olug.org/mailman/listinfo/olug
> >
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
> 
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list