Displaying 20 results from an estimated 10000 matches similar to: "vsftp passive mode / iptables issue"
2007 Oct 05
3
DNAT rule for vsftp --(PASSIVE FTP)
Hi all,
I want to run vsftp behind a firewall.(i.e DMZ zone) . It is runnig as
passive ftp.
the theroy behind passive ftp is ,
- FTP server's port 21 from anywhere ( Client initiates connection)
- FTP server's port 21 to ports > 1024 (Server responds to client's
control port)
- FTP server's ports > 1024 from anywhere (Client initiates data
connection to
2007 Oct 05
3
DNAT rule for vsftp (PASSIVE FTP)
Hi all,
I want to run vsftp behind a firewall.(i.e DMZ zone) . It is runnig as
passive ftp.
the theroy behind passive ftp is ,
- FTP server''s port 21 from anywhere (Client initiates connection)
- FTP server''s port 21 to ports > 1024 (Server responds to client''s
control port)
- FTP server''s ports > 1024 from anywhere (Client initiates data
2007 Feb 06
1
vsftp
I'm having an odd behavior with vsftp on all CentOS 4 servers... maybe 3
too, but I'm not on those much.
I am transferring in port mode as I've never managed to get passive to
work with a firewall running.
Anyway, this is what happens.
During normal transfers with few files.. it works perfectly.
During the transfer of like a large website with hundreds of files in
various
2007 Oct 05
0
[Fwd: Re: DNAT rule for vsftp (PASSIVE FTP)]
-------- Original Message --------
Subject: Re: [LARTC] DNAT rule for vsftp (PASSIVE FTP)
Date: Fri, 05 Oct 2007 12:17:42 +0530
From: Mohan Sundaram <smohan@vsnl.com>
Reply-To: smohan@vsnl.com
To: Indunil Jayasooriya <indunil75@gmail.com>
References: <7ed6b0aa0710042251u6442fb85ma74e46aa9d3f81f9@mail.gmail.com>
Indunil Jayasooriya wrote:
> Hi all,
>
> I want to run
2006 Apr 09
2
First SSH now VSFTP
Seems the script kiddies are now hitting vsftp with dictionary attacks.
I had three boxes showing around 12000 attempts from one IP yesterday.
My thoughts are that there should be an upstream solution for this which
is then supported by the upstream vendor. Yes, I know there are several
'other' solutions, but I'd really like to stay mainstream and use a
supported method for
2009 Jan 22
1
ftp and iptables
Hi - I have a ftp server running version 2.0.7 of vsftpd on
a CentSO 5.2 server using iptables behind a Linksys router.
The setup works for UNIX machines on either side of the Linksys
router.
For the Windows machines it only works if they're behind the Linksys
router - ftp does NOT work if they're outside the Linksys router.
I'd like to solve two problems:
(1) make ftp work
2007 Sep 09
1
Problem with VSFTP
I have a vsftp server hosted on custom dyndns site. We have a 4mb ADSL
connection. When I tried to download the files from the ftp server with wan
IP address or the dyndns address it downloads some files and disconnects.
Please find below an extract from the log file (ace ftp client). I would
appreciate if someone could guide me, possibly with a solution for this
problem.
Many thanks
2007 Sep 22
3
vsftp question ?
Hi,
I want to setup vsftp on centos 4.5. 2 types of ftp. they are active and
pasive. What is the default type ftp type o CentOS ?
Is is PASIVE ftp?
in /etc/vsftpd/vsftpd.conf, I found below line. What should I do for below
line?
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
Should I COMMENT it out? I need a very secure ftp service.
YOUR
2012 Mar 02
1
VSftp, ssl/tls, slight issue with directory listings
Centos 6, stock installation, no additional repos added.
vsftp works fine in regular mode, going to ssl I got issues. I get as
far as 'directory listing' and it dies. It times out and disconnects.
file: /etc/sysconfig/iptables-config
added: IPTABLES_MODULES="ip_conntrack_ftp"
(without this line, ftp normally fails, afraid it may be causing issues
with the ssl)
iptables
-A
2007 Mar 09
2
Mark on FTP passive traffic
Hi,
I use for a customer a Linux router/firewall with 1 internal interface
connected to the LAN and 3 external interfaces connected to 3 different
ISP. I use a kernel 2.6.17 with a routes patch from Julian Anastasov.
I mark outgoing FTP traffic for the routing.
With the rules below I do not have a problem with the active/normal FTP
to connect on FTP server.
But the passive FTP does not pass
2006 Feb 16
4
FTP Server and IPTables?
I'm having a heck of a time getting vsftpd to work properly. When Iptables are
OFF, it works fine, and when iptables is on, it dies. When I try ftp from a
command line, here's what the session looks looks like:
[root at mylaptop ~]# ftp ftp.server.com
Connected to ftp.server.com.
220 Welcome to My Company FTP
530 Please login with USER and PASS.
530 Please login with USER and PASS.
2018 May 23
7
Vsftpd vs. iptables firewall script
Hi,
I'm currently setting up a local FTP server, to receive disk images sent
with G4L (Ghost4Linux).
This server has been running Slackware Linux before, and the Vsftpd
setup was relatively simple.
With CentOS things seem to be slightly different, so I'm currently
trying to work things out. For the moment, two things seem to be
creating problems, the simple iptables firewall and
2007 Sep 20
3
iptables question
Hi all,
With SELinux in permissive mode and iptables running, I'm unable to
retrieve directory listings with ftp.
stop iptables, and all appears again. This seems to be unrelated to
passive/port modes for ftp client.
If this is off topic, please let me know offlist and I'll take my
question elsewhere. Otherwise I'll repost with output of
# iptables status
TIA,
~Ray
2005 Jul 07
3
ftp firewall/iptables
I just installed CentOS4 on my main server. It runs proftpd and is not NATted..
When I did the install I said to allow FTP and HTTP. I can ftp from
windows dos ftp client.
In IE I get "Unable to build data connection: No route to host"
ncftp I get..
Data connection timed out.
Falling back to PORT instead of PASV mode.
List failed.
Wget and FireFox just time out.
Anything I need
2005 Jan 03
1
Unable to do passive ftp after updating to 2.0.9
Hi,
I''m using the same set of firewall rules of 2.0.x
(sorry, I can''t remember the exact minor version) and
put it to work with 2.0.9. And now I can''t do passive
ftp (was working before).
I see that my NEWNOTSYN is set to Yes, and the
loc->net rule is blocking 1024:65535.
But I believe with the ip_conntrack_ftp, the passive
mode would be allowed, since
2011 Oct 26
3
VSFTPD passive mode is not working
I have Centos 5.7 64bit; I have installed vsftpd as standalone service and using it for two years now with no problem. Suddenly; only it works with active mode. The passive mode stops working and gives time out. Firewall is disabled and SELinux is set to permissive.
I ran tcpdump and I noticed that only first three packets reached the FTP for passive mode and no more packets on other ports
#
2012 Feb 02
0
some notes on setting up vsftp on centos6
I was not sure why vsftp (or any other ftp software) was installed as
part of the webserver.
some quick notes, hope it helps anyone else having an issue.
So I yum installed it.
I had a bear of a time.
But I finally got it to work doing the following.
I had to add ip_conntrack_ftp to my iptables-config file or it would not
work
IPTABLES_MODULES="ip_conntrack_ftp"
I had to add this
2005 Feb 16
1
ProFTP -> vsFTP Configuration Options
I am moving from a server from running Red Hat 7.2 (with ProFTP) to Centos 3
(with vsFTP). There is a setting in ProFTP that lets me set the default ftp
login directory for a specific user and I would like to do the same with
vsFTP. The reason being is I have a 'webadmin' user that I use for uploading
web content. I am thinking I could make the home directory of the webadmin
/var/www in
2007 Jan 08
3
How can I do traffic shapping for passive ftp ?
Hello
I''ve setuped a bridge with iptables + layer + ipp2p + tc
I don''t know how to shape passive ftp ?
If I put rules on port 20, 21 or using layer 7 iptables accounting
still empty ...
When I done a tcpdump I can see that othe port than 20 or 21 are used ...
Any Ideas of how I can achieve this ?
Regards
2004 Jul 23
2
marking and shaping outbound passive ftp traffic
Will the following rules work to mark and shape OUTBOUND ftp speed
(passive ftp ports 50000-60000) on my linux server?
I want to be able to run these commands on the actual computer that is
running the ftp server.
iptables -t mangle -N MYSHAPER-OUT
iptables -t mangle -I POSTROUTING -o eth0 -j MYSHAPER-OUT
iptables -t mangle -A MYSHAPER-OUT -p tcp --dport 50000:60000 -j MARK
--set-mark 1
tc