Richard Bonebrake wrote:
>
> I am trying to get my home network working with ip
> masq. I have this
> working on my system with win98 and with OS/2 I
> normally connect with
> OS/2 and work my Win98 machine through it to my
> ISP. I do my Palm pilot
> through my win98 machine to my os2 machine to my
> isp. I am totally lost
> with Linux to do this. I have printed out the IP
> Masq. HOWTO and now
> know even less then before I read it. Is there a
> simple program or setup
> I can use so these 3 machines can connect to my ISp
> again. I have tried several questions in newbie and gotten no answers. I
> am by no means an expert and need simple suggestions or directions.
> Thanks for any help you can give.
>
>
>
1.� Plug your machines into a hub with their ethernet interfaces
2.� On the linux box� set up the link to your ISP--and don't do it
through a hub--it is possible but it is lousy security.
If you are connecting by DSL or something that needs an ethernet
interface, you may need to add one to the linux box, and this can be
done with linuxconf / basic host information/ adapter 2, etc.�
3.� Now give each of your boxes LOCAL ONLY IP addresses at their
ethernet connections.� I recommend
192.168.100.2 �� Windows
192.168.100.3 � � OS/2
192.168.100.254 �� Linux
Set the Default gateway� on your win and OS/2 machines to
192.168.100.254.� Set the DNS servers on both the same as if you are
connecting directly to your ISP
On the linux box, configure your networking for the DNS servers of your
ISP.� If you do not know the DNS servers and your ISP is clueless in the
tech support dept, then connect and
# host -a� www.<yourispname>.<com, net, etc>.
(note the trailing dot)� Will tell you where to get authoritative
answers (and those IPs for the authoritative answers are the DNS servers).
4.� Om the linux box, put these lines (in order) at the end of
/etc/rc.d/rc.local
ipchains -P forward DENY
ipchains -A forward -i ppp0 -j MASQ
echo 1 >� /proc/sys/net/ipv4/ip_forward
Now internet connections will work from your other boxes EXCEPT active
ftp.� You must use passive mode for ftp on your other machines.
You can, if you wish, use KPilot from the linux box for the same
services to your Palm Pilot.
Civileme