On Friday 05 November 2004 11:52, Mikkel L. Ellertson wrote:
> Eric Scott wrote:
> >>On Friday 05 November 2004 16:47, Eric Scott wrote:
> >>>Yo.  In risk of showing my ignorance; how to I configure my firewall on
> >>>Mandrake 9.2?  I need to make sure the FTP port is open.  (FTP's not
> >>>working... and by golly if there's a firewall on it it wouldn't work
> >>>then, would it?)  Anyway, I know nothing of firewalls and need some
> >>>basics. Thanx,
> >>>                SigmaChi
> >>
> >>Menu>System>Configure>ConfigureYourComputer>Security>Firewall>
> >>Tick the box for FTP server
> >>
> >>Or if you want to learn about how the firewall works in depth, read the
> >>files in /etc/shorewall and visit www.shorewall.net
> >>
> >>derek
> >
> > Lol, I should of at least checked the control center before I posted. But
> > anyway, my firewall is totally off.  ProFTPD seems to be running
> > smoothly... but not letting me access.  Allow me to quote my previous
> > post:
> >
> > <quote>
> > Yo people.  I've got a Mandrake Linux 9.2 server running ProFTP v1.28.  I
> > thought I had it all set up to run with anonymous FTP access (Using a
> > sample /etc/proftpd.config from proftpd.org for now), and starting
> > through xinetd... but apparently it isn't set up right, or at least it's
> > not wanting to be just jiggy with me.  Here's my setup and what happens
> > when I try to access the ftp site:
> > <details>
> > My config file is a standard example (temporaraly) that can be found at
> > http://proftpd.org/docs/configs/anonymous.conf
> >
> > After copying the above file in to /etc/proftpd.conf, I restarted xinetd.
> > (I know next to nothing about xinetd or how to run proftpd under it, but
> > for what it's worth, there's a 'proftpd-xinetd' file in /etc/xinetd.d/)
> >
> > Here's what gets my relatively-novice Linux mind boggled.  Something
> > seems to be running, but I only sorta get an ftp connection when the
> > client connects:
> >
> > At this point 'netstat -a | grep ftp' gives:
> > tcp        0      0 *:ftp                   *:*                    
> > LISTEN
> >
> > Seems chipper, from what I can gather from the limited proftpd howtos
> > I've found.  When I start to connect with a client and do netstat I get
> > (domains are aliased):
> > tcp        0      0 [MyDomain]:ftp         [ClientDomain] ESTABLISHED
> >
> > The client says "Connected to [MyDomain] ([MyIP])
> >
> > A few seconds later it goes:
> >
> > 421 Service not available, remote server has closed connection
> >
> > </details>
> >         Now this is probably way too much of the wrong info needed to
> > solve my problem, which I suspect is relatively simple.  I'm obviously
> > new to FTP and fairly new to Linux; but I need this FTP server up and
> > (eventually) configured to my requirements.
> >    any help?
> > </quote>
> >
> > I'm starting to get pretty frustrated with this.  Couldn't I just skip
> > the newbie part and know everything?  I'll probably show up this weekend
> > asking how to get a POP3 server up, so if you have any pre-emptive tips
> > fire away. Thanx,
> >                 ES
>
> Chech you log files - the messages generated when you try to connect
> should be helpful.  It may be that xinetd is listening because of the
> proftpd-xinetd file. If so, and the path to proftpd is wrong, you will
> get this kind of response.  You will also get it if proftpd is not
> configured properly.
>
> You could also be running into a problem because of /etc/hosts.allow and
> /etc/hosts.deny.  A lot of daemons check these files to see if the
> system trying to connect is allowed to use the service. Everything run
> through xinetd is subject to these rules. But the error message doesn't
> really indicate this problem.
>
> In any case, it is not a firewall problem right now, because you do
> connect, but the connection is dropped afterworlds.
>
> Mikkel
Aha! Would it be because my /etc/proftpd.conf file has severtype set to 
standalone? ÂWhat to I replace "standalone" with to tell it to work through 
xinetd? Âjust inetd or xinetd?
   Âthanx,
     ÂES
-- 
Registered Linux user #366862

Not that you care, but this message was sent from a 750MHz Athlon system 
running SuSE Linux 9.1 (Kernal 2.6.4) and KMail 1.62.  I aslo run Red Hat 
Linux 8.0 (Kernal 2.4.18), Debian GNU/Linux 3.0 (Kernal 2.2.20), Mandrake 
Linux 9.2 (Kernal 2.4.22), and YellowDog Linux 3.0 (Kernal 2.4.20) on various 
systems and architectures for various reasons.  Yeah, and there's a old Mac 
OS in there somewhere that I use as a bootloader for Linux, and a Windows XP 
box used as a router for my Linux-based network, but they don't count, 'cuz 
they aren't "real" OS's.  Who me? Biased? Nah!


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to