Re: getting vsftpd into active mode
From: Enkidu (enkidu.com_at_com.cliffp.com)
Date: 04/04/05
- Previous message: DOEDITWEG: "Re: printing on a samsung clp-500"
- In reply to: Phil: "getting vsftpd into active mode"
- Next in thread: Phil: "Re: getting vsftpd into active mode"
- Reply: Phil: "Re: getting vsftpd into active mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 04 Apr 2005 11:32:59 +1200
Phil wrote:
> It would seem that my router will only allow active FTP communication
> and blocks passive. So...how do I connect actively? Is this a client
> or server configuration? Is the an FTP command?
>
> I'm slowly chipping away on this problem. Suggestions more than welcome.
>
> I'm using Fedora 2.
>
It's a server setup config, but the client has to comply.
You don't say if you are setting up a server or a client.
Assuming server, your vsftpd must be set to expect active
mode ftp *if* it actually restricts the mode. Usually by
default an ftp server doesn't but vsftpd may have a default
mode.
Active ftp requires an incoming port open at the router
(port 21) and it requires that the *client* be able to
accept connections on port 20. If the client is unable to
accept incoming connections (ie it is behind a firewall) the
session will fail.
Passive ftp requires an incoming client port on the router
(port 21) and uses other high number (above 1024) incoming
ports. You'd have to a) tell vsftpd to use these ports and
b) open the ports on your router.
Try this for a definitive explanation.
http://slacksite.com/other/ftp.html
To make passive work you'll need to configure the router to
pass specific high order ports and configure vsftpd to know
this. To make active work you will need to allow incoming
port 21 at the router and the client must allow connection
on port 20 through any firewalls and stuff between your
server and the client.
Cheers,
Cliff
-- Barzoomian the Martian - http://barzoomian.blogspot.com
- Previous message: DOEDITWEG: "Re: printing on a samsung clp-500"
- In reply to: Phil: "getting vsftpd into active mode"
- Next in thread: Phil: "Re: getting vsftpd into active mode"
- Reply: Phil: "Re: getting vsftpd into active mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|