Re: [SLE] susefirewall2 and ftp
- From: Chadley Wilson <chadley@xxxxxxxxxxxx>
- Date: Wed, 07 Dec 2005 08:25:00 +0200
On Wed, 2005-12-07 at 06:36 +0100, wavesurf@xxxxxxxxx wrote:
> Op woensdag 7 december 2005 04:03, schreef John Scott:
> > On 12/6/05, wavesurf@xxxxxxxxx <wavesurf@xxxxxxxxx> wrote:
> > > Hello,
> > >
> > > I have setup "vsftpd" and it works fine with the firewall off.
> > > The problem is, that there is no option, in the service, in the
> > > firewall-yast, for FTP?
> > > What am i missing?
> > > --
> > > thanks,
> > > Gerrit Jan Eldering
> > >
> > > KDE-versie: 3.5.0 Level "a"
> > > Systeem: SuSELinux 10.0
> > > Kernel: 2.6.13-15-default
> >
> > In susefirewall-yast, click allowed services then advanced and add
> > then add 21 to the tcp list of ports.
> >
> > John
>
>
> I did so, but that won't work, it's very strange...
> --
>
> --
>
> Gerrit Jan Eldering
>
> KDE-versie: 3.5.0 Level "a"
> Systeem: SuSELinux 10.0
> Kernel: 2.6.13-15.7-default
>
Hi Gerrit,
I had a similar issue before,
Firstly if you have one network interface, you must set the interface as
an external, then you must disable protect from internal, because it
will override the external settings, external being the same interface
as internal in my case. enable ports 20 and 21 remember to type the port
numbers in space separated and no commas. (just a space.)
Enable the firewall then from a local shell run
#netstat --tulpen
post the output which shows what services are running and which ports.
Then port scan your box to see if the port is available.
#nmap <your-ip>
which will show which ports are available.
post the output as well,
does your /etc/xinetd.d/vsftpd file look like this?
service ftp
{
# server_args =
# log_on_success += DURATION USERID
# log_on_failure += USERID
# nice = 10
disable = yes
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/vsftpd
}
and this is a copy of my vsftp.conf file which is just for anonymous
connections.
chadlap:~ # grep -v ^# /etc/vsftpd.conf
dirmessage_enable=YES
anonymous_enable=YES
anon_world_readable_only=YES
syslog_enable=YES
connect_from_port_20=YES
pam_service_name=vsftpd
keep posting... :')
Cheers
Chadley
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- Re: [SLE] susefirewall2 and ftp
- From: wavesurf
- Re: [SLE] susefirewall2 and ftp
- References:
- [SLE] susefirewall2 and ftp
- From: wavesurf
- Re: [SLE] susefirewall2 and ftp
- From: John Scott
- Re: [SLE] susefirewall2 and ftp
- From: wavesurf
- [SLE] susefirewall2 and ftp
- Prev by Date: [SLE] mencoder dvds ripped won't play in windows
- Next by Date: Re: [SLE] Uninstalling SuperKaramba from SUSE 10
- Previous by thread: Re: [SLE] susefirewall2 and ftp
- Next by thread: Re: [SLE] susefirewall2 and ftp
- Index(es):
Relevant Pages
|