I'm sorry for asking this, and it's a bit embarassing that I've not been
able to puzzle my way through this, but Linux is new to me, and I'm just a
little bit confused about some things.

I have my Linux box connected to the internet via DSL.  I also have a Win98
machine hooked to the linux box through a second NIC card.  I am able to
ping all around from every machine, surf the web from either machine.  But
what I've been unable to figure out is how to give the machines FTP and
TELNET access to each other via IP, but not letting anyone from the outside
in.  Also, my IP that's connected to the web is an DHCP assigned IP from my
ISP.  My hosts.allow is currently empty and my hosts.deny has the following
line in it:

ALL:ALL EXCEPT localhost:DENY

And I didn't create this, a guy from work told me to put it in.

I also have a firewall script this same guy wrote for and it gets run in the
rc.local file.  It's:

/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i eth0 -J MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward

What is it exactly I need to do to enable the win98 machine to TELNET and
FTP to the Linux machine as well as accessing the Win98 machine from the
Linux machine?  I realize I should really be using SAMBA for this, but I'm
not all that interested in using SAMBA.  I tried using a couple of different
times, and it confused me even more than this method.

Thanks...

Joseph E. Sheble
a.k.a. Wizaerd
Wizaerd's Realm
http://www.wizaerd.com
Featuring 3D, Canvas, and ColdFusion
============================================
CF Developer for iTOOL.com
http://www.itool.com
Build Your WebSite Today!
============================================

Reply via email to