Hello again
I appreciate the information provided about IP forwarding and Email
below. But I was looking for some more information about where to
start and what to do. So let me see if I can state what I think is
the correct attack. If something is missing or wrong, PLEASE correct
me. I will attempt to post a summary once I get this working.
Initial Setup:
I have three computers, one running Redhat Linux 6.0, and two
running Windows 95, all with new unconfigured installations. They
all contain ethernet cards, and the cabling is in place. The Linux
box has a modem attached to access the Internet. I have a dialup
connect to my ISP which uses dynamic IP addresses.
Configuration Steps:
1. Pick names for the computers, and a domain name for the
network. These are private names, so they are not registered to
appear on the Internet.
2. Assign IP addresses to the machines using unrouted IP numbers
such as 192.168.10.1-3 .
3. Configure the Windows boxes, in the networking section of the
control panel, for their name, workgroup, fixed IP
addresses, Wins lookup, no DNS, and no Gateway. (I plan on using
Samba.)
4. Configure the Linux box for it's hostname, domain name, and IP
address. Create accounts on Linux for the users of the Windows
95 machines. Confirm that they have mail boxes on the Linux
machine.
5. Configure, start and test Samba. Configure Sendmail for Envelope
masquarading using ISP domain name, and relay of internal
systems. Configure the Windows 95 mail programs to use the Linux
box with IMAP. Set up a procmail filter if you want the Windows
users to have internet email. Send messages from each box to all
the users. Configure PPP and diald for Internet access from both
Linux and Windows 95. Check that the Windows 95 browsers can
access the internet through the Linux modem.
6. Recompile the kernel to include IP Forwarding, set up IPchains to
protect the internet communication. Configure a Cron job to
exchange email with the ISP machine using fetchmail to get the
mail, with procmail filtering, and use sendmail -c to upload the
waiting email.
OK, what have I forgotten, overlooked, or missed?
Yes I know this is a long list, but I think many people might not know
what is involved in setting up this type of a system. The easier we
make it, the more people will catch on to the real power of Linux.
Help me get this right, and I will help spread the word.
Thanks
John Moore
>>I am in the process of setting up a network in my home. I have a
>>server running Redhat, and 2 clients running Win95. I would like to
>>know if there is a document or book somewhere which would guide me?
>>Or if not I am willing to create something since I am sure others
>>would be interested in understanding how to accomplish this task.
>>
>>I know how to do some configuration of things like PPP, Sendmail,
>>fetchmail, and some Samba. What I am unsure of is what other
>>processes I might want to setup.
>>
>>I want the system to use a Linux as the mail server and relay the mail
>>through my ISP. I would also like the Windows 95 boxes to use Linux
>>as a gateway to the internet. I don't have a full time connection,
>>just a modem which I have on a cron job for mail transfers. I start
>>PPP manually when I want to go to the internet. I think I want to do
>>IPChains but will need to learn how to configure this. I don't think
>>I need a firewall, since it is only connected to the Net when someone
>>is online.
>>
>>Please point me to information, or a discussion list about this type
>>of setup.
>To use Linux as a gateway:
>
>1). set up diald or the auto-connect of more recent PPP daemons. This
> will connect on request for Linux or Win95 when set up.
>
>2). Add IP forwarding to your kernel and turn it on.
>
>3). Set up ipchains to act as a firewall. YOU NEED THIS! It can take
> seconds to crack a box. The Win95 clients are very vulnerable if
> you leave them exposed. You can wipe and crash a Win95 box in
> under
> a second - some websites even run a cracking script against you
> when you browse them (rare but very nasty when you're bitten).
>
>Your Win95 machines should now be able to browse the net :-)
>
>For mail:
>
>1). Use Linux fetchmail to grab your mail from the server on connect
> or run it periodically from crontab.
>
>2). Install POP3 or IMAP on the Linux box to act as a local
> mailserver.
> Make sure that you only allow relaying in sendmail from your local
> LAN or the spammers will eat you for lunch.
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.