[nSLUG] Gateway

Lewis House lewis.house at ns.sympatico.ca
Mon Mar 31 12:38:37 AST 2003

Thanks for the help you guyz gave, i fiddled with it all weekend off and on
and read the whole IP-Masquerading howto ( woo its a long one ) and got it
working properly.  After a couple kernel recompiles and editing it werked
this morning.  Reason i wanted to do this is to save me the expense of
buying a monitor for the server, but also be able to use the laptop to surf.
The server and laptop is in another room from the windows machine.


----- Original Message -----
From: "Dop Ganger" <nslug at fop.ns.ca>
To: <nslug at nslug.ns.ca>
Sent: Saturday, March 29, 2003 9:49 AM
Subject: Re: [nSLUG] Gateway

> On Fri, 28 Mar 2003, Lewis House wrote:
> > Hey all,
> > Ok i got an old server from ebay a Compaq proliant 805r, 2 - PPro 200,
> > 256megs ram, 2 - 4.3gig scsi hot swap hd's, 2 nics. What i want to do is
> > make it a gateway or router i guess. Slackware 9.0 is freshly installed
> > it now and it detects both nics. This is my setup i have.
> >
> > Windows Comp ( WinXP pro)  ---> Compaq Server (Slack 9.0) ------> p75
> > (debian 2.1)
> >
> > The windows box is the connection to the internet and is sharing with
ics. i
> > do this because of living in the woods i have dialup and have a crappy
> > winmodem.
> You might want to have a look at some of the Courier modems up for sale on
> ebay (avoid the I-Modems, though, as they're ISDN). You should be able to
> get way better performance from a courier than a winmodem... :-)
> > The server has no problem using the internet through the windows
> > box, what i want to do is be able to connect to the internet through the
> > laptop.  its probably an unorthodox setup but thats the way its setup.
> >
> > Windows  Comp
> > Compaq Server and
> > Laptop
> OK, that should work fine. What you want to do is set up iptables to do
> masquerading. Probably your best bet, if you can't find an obvious
> slackware package to do it, is to go to freshmeat.net and do a search for
> iptables. Pick a firewalling package that looks easy enough to handle and
> try installing it.
> Also the Linux HOWTO docs are quite useful; if I recall correctly, on
> slackware they're in /usr/doc/Linux-HOWTOs, with mini-howtos in
> /usr/doc/Linux-mini-HOWTOs. You might be able to fish out a recipe from
> there to get you up and running.
> > I have read some stuff about multihomed boxes but cant make heads or
> > of it. i can ping between both windows comp and compaq server, but the
> > second nic in the box and the laptop dont wanna seem to
> OK... you'll need to set up a DHCP server on the proliant and set it up to
> serve the subnet. If you install the slackware dhcpd
> package there's a sample dhcpd.conf that gets installed. You might also
> want to install a DNS server such as bind, which will also need
> configuring.
> Sounds like you're on the right track, though. Good luck :-)
> Cheers... Dop.
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/cgi-bin/mailman/listinfo/nslug

More information about the nSLUG mailing list