Assuming you are trying to get rid of Sygate, what you would do is to use
the Linux system as the gateway computer - the Linux system would, ideally,
have two nics, one connected to your internal LAN and the other to your
outside connection, whether cable modem, DSL, dial-up, etc.
On the Linux system you would use ipchains (or iptables in the 2.4.x kernel)
to configure that system for firewalling, routing, packet forwarding etc.
THe IPCHAINS HOWTO is the thing to read for how to create the firewalling
rules. I don't think there is yet an IPTABLES howto.
The other machines on your lan that need to go through the Linux gateway to
get to the net would reference that machine as the gateway, just like they
do for Sygate, and you would ideally use non-routed IP addressed
(192.168.x.x, for instance) for your internal IP addresses.
You can run dhcpd (the dhcp server daemon) on the Linux box to provide IP
addresses to your internal computers via dhcp if you like.
Another, even better way (IMHO) to set up this kinds of a setup is to use a
dedicated solution such as the Linksys home network router which connects
your home lan to the outside network. Netgear and Dlink make similar
products. THe advantage is that it is much simpler to have a dedicated
hardware solution just handling this task (I think), but you can do much
more sophisticated things with Linux and ipchains if you need to, like
blocking specific services for specific computers in your home, to specific
network addresss, and so on.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Eugene C. Zesch
> Sent: Saturday, February 03, 2001 10:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [expert] Internet connection sharing...
>
>
> Yann Ouellet wrote:
> >
> > Hi,
> > I'm wondering if i could do the following. I
> have 2 computer in a lan. 1
> > is in windows98 and has Sygate home network 4.0 installed. I
> use it to share
> > my internet connection between the 2 computer. Would it be possible, in
> > linux, to share the same connection with or without using
> sygate or in any
> > other way?
> >
> >
> Thanks!
> Yann,
> I beleive all you need to do is set the Linux machines
> gateway to the
> addresss of the machine running Sygate, and make sure the DNS numbers in
> the Linus machine point to your ISP's DNS addresses.
> I'm using Mandrake 6.0, and that can all be done in netcfg(as root).
> Over Christmas I set up an all Windows network for my ex
> and kids, and
> I recall that Sygate had excellent instructions built in.
> Good luck,
> Gene
>
>