PDA

View Full Version : Linux Server, Windows Client LAN / DSL



VoodooNeo
01-15-00, 12:33 AM
I'm setting up a Linux Box for a server, and I'll be using Whendoze98 clients.

I was wondering how to configure both machines to have the Whendoze computers to use a 10.0.0.0 based IP, and pull info from my Linux server for an internet feed.

I believe that my Linux Box will have to have 2 NIC's, connect 1 to a hub, then to my Whendoze NIC - however how do I configure Linux to sent an internet feed to a 10.0.0.0 based internal IP?

It's some whacky schtuff man ... anybody got some info?

oz-prime
01-25-00, 09:51 PM
linux is perfect for what you want to do:
first of all, you are correct in that you need 2 NICs for the linux box. One nick will be for the external network (the internet)... it will probably be assigned a dynamic ip via dhcp. The second NIC is for your internal network: this one you assign a private ip address, say 192.168.0.1 (most common private ip)... your other machines should be .2, .3, etc.
on the software end of things, you will have to setup ip masq on the linux box, to route between your private, internal net, and the public internet. Make sure you are using an up to date linux distro, like redhat 6.1, so that the kernel is at least 2.2.12.. (using ip chains). Lastly you NEED to read the IP MASQUERADE HOWTO... its essential.. also read the trinityOS setup - an essential guide to linux security... he has a perfect example of what you want to do.

VoodooNeo
01-28-00, 12:12 AM
Excellent! Thank you for the help... The version of Linux I'll probably use is Debian v2.1r4... So hopefully this would work good for me and what I need to do...

I'll definatly read the how2 you suggested too.. thanks again!!!

Vn