Click to See Complete Forum and Search --> : Best option on config of Linux and win
Im on the @home network and have a 166mmx system with caldera 2.4 and a PIII 733 running Win98.
I would like to network the two via a hub and use the Linux box as a server/firewall and still be able to use the winbox on the net.
I have seen and read many different howtos and disucssions on this but none that fit my situation. In your expert opinion what would be the best configuration to set up this network..
thanks
Craig McPherson
01-14-2001, 06:02 PM
You'll need one card in each machine for the local network connection, and in your Linux box you'll need the appropriate type of interface card for your network connection (for example, if you have cable or DSL, you'll need a second network card in your Linux box, if you have a dialup connection you'll need a modem in your Linux box).
You don't actually need the hub: since you only have two computers you can connect the network cards directly with a crossover cable.
Anyway, set your Linux box up and get it on the Internet. I'd go ahead and upgrade to kernel 2.4, because there's no point in learning ipchains just have to re-learn iptables here in a few months -- go ahead and learn iptables now. Read the iptables howto to get a general overview of how it works.
Now you'll want to configure the local network interface on each machine. There should be a NHF on this, but with two machines you probably just want to assign each a static IP address (like 192.168.1.1 and 192.168.1.2). Get the local interfaces up, and get them so that they can ping each other.
Now, you need to get your Linux box to act as a gateway/router. Since you're new at this, you might want to go to http://www.linuxfirewalltools.com/ and have it automatically generate a firewall script for you that'll turn on IP forwarding and set up some sensible firewall rules.
Once you have your Linux box acting as a gateway, you can just enter is local IP address (like 192.168.1.1) as the Default Gateway on the Windows machine.
Windows machine is on the Internet now.
TechGuy
01-14-2001, 06:42 PM
I can't get the linuxfirewalls site to come up. Is that the correct address in the above post?
neither can I....
------------------
"There only two infinates, the universe, and human stupidity" - Albert Einstein
Craig McPherson
01-14-2001, 08:02 PM
Oops.
http://www.linux-firewall-tools.com/