[CentOS] alternate port for vsftp

Tue Jul 3 19:21:04 UTC 2007
Steve Friedman <steve at adsi-m4.com>

On Tue, 3 Jul 2007, Ray Leventhal wrote:

> Jim Perrin wrote:
>> On 7/3/07, Ray Leventhal <centos at swhi.net> wrote:
>>
>> Are you using selinux? It restricts ftpd to port 21 iirc. You'll have
>> to create a local policy allowing it to listen/connect on a port other
>> than that.
>>
> Yes, Jim!  SELinux is applied by default to this fresh install, I
> believe.  I'll hack at that next.
>

No need to create a local policy, use semanage.  (The types that you will 
want are ftp_port_t and/or ftp_data_port_t.)

Steve Friedman