I did exactly as you stated and added: ALL: 192.168.0.11, localhost in my hosts.allow file, and tried to ftp from the Win98 box and I get: C:\WINDOWS>ftp 192.168.0.10 > ftp: connect :10061 ftp> I think the FTP daemon might not be running, so I'll look into this... how can I tell if it's running or not? Also, would I be better off using ssh? the sshd is running... > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Civileme > Sent: Thursday, February 24, 2000 3:07 PM > To: [EMAIL PROTECTED] > Subject: Re: [expert] FW: about hosts allows > > > Hmmmm, > > Well you need to set up and assure that telnet and FTP are running on your > linux box. ALSO, you need to put an FTP server on your windows box. Some > hacker sites probably have a few you can use for the purpose... > I used to use > one called warFTP when I still had windows. Try that as a search > string at > www.Dogpile.com. If no results, try the AstaLaVista Search engine at > www.cyberpass.com/~tapu. > > On the linux box, the hosts.deny will keep everyone out, so you > need to put > something in hosts.allow to give the winbox access. Typically > this would be > the IP of the box. > > ALL: <hostname of the winbox>, LOCAL > > Would open it to your own linux box and to the windows box. > > Various booby-traps are available for unauthorized access attempts--to see > examples, try clicking on Konsole and > > $ man hosts.allow > > > Samba would be a lot easier and smoother, and Webmin a lot more > GUI than ftp > and telnet respectively. For a GREAT explanation of how to setup > samba, try > www.mandrakeuser.org.... Tom Berger did an excellent job there. > Webmin is at > www.webmin.com and is written in perl and will certainly run on > your linux box. > I have never tried it on a windows box, but I can give you a > result from our > LAN here. I had a deputy clerk with a total screen > lockup--unresponsive to > keyboard thanks to StarOffice and Netscape apparently fighting for > priorities... I logged in with Webmin with no problem and forced a > shutdown/reboot to avoid a hardware reset. Telnet had decided not to be > running in the midst of the grand logic race of the bloated behemoths, but > Webmin saved my day and the clerk's. > > The masquerade stuff makes it easy to use the internet from > either box, which > is what else the fellow from work gave you, with those ipchains > instructions. > By using the masquerade, no one from outside can log in to your > windows box. > > And don't apologize for trying to learn. We were and most of us > still are in > that situation. I haven't learned all of linux yet though it is > a goal I use > to guide my life. Maybe, someday, when I am older and more > decrepit, I will > feel I have enough knowledge, but till then I will share what > little I know, > and stand ready to be corrected or to learn otherwise. > > Civileme > > On Thu, 24 Feb 2000, you wrote: > > 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! > > ============================================
