[CentOS] alternate port for vsftp

Tue Jul 3 23:50:29 UTC 2007
centos at swhi.net <centos at swhi.net>

Steve Friedman wrote:
> 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
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
semanage was the answer.

Many many thanks to all.

~Ray