Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section FTP Server
  • Search

change ftp port number

Questions regarding the FTP Server
vsFTPd, ProFTPd
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

change ftp port number
  • Quote

Post by chaiyuttochai » Mon Nov 30, 2015 4:32 pm

I want to change FTP Default-Port for security issue.
I already follow this link
http://twincreations.co.uk/change-defau ... for-vsftp/

After Restart vsftp-service I also config iptable to enable my custom ports
I still cannot login

Can anyone tell me how i can change it?

My server is Centos 6.6
Top

rgawron
Posts: 12
Joined: Wed Feb 18, 2015 10:15 am

Re: change ftp port number
  • Quote

Post by rgawron » Wed Dec 02, 2015 2:14 pm

Procedure is OK.
Please paste your

Code: Select all

vsftpd.conf
and

Code: Select all

 iptables -S 
I try change on my server
Top

chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

Re: change ftp port number
  • Quote

Post by chaiyuttochai » Thu Dec 03, 2015 2:56 am

Here is the config
Please guide me.. thx

IPTABLE
Image

VSFTP
Image

-Did i config anythings wrong ?
I cannot logon with port 2500 then i try port 22 it still enable to logon
Am so confuse. Should it be enable to logon with port 2500 and 22 cannot am i right?
Top

serverliving
Posts: 9
Joined: Wed Dec 02, 2015 9:52 am

Re: change ftp port number
  • Quote

Post by serverliving » Thu Dec 03, 2015 9:38 am

What's the error message you get when connecting?.

Also did you open port 2500 through VestaCP Web interface?.
Top

chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

Re: change ftp port number
  • Quote

Post by chaiyuttochai » Sun Dec 06, 2015 9:41 am

SFTP return "refuse"
And i already config iptable to accept port 2500 on tcp
Top

Melinda
Posts: 2
Joined: Tue Feb 16, 2016 7:24 am

Re: change ftp port number
  • Quote

Post by Melinda » Tue Feb 16, 2016 9:25 am

Enter the command WRKSRVTBLE and scroll down to the services that are labeled ftp-control. Use the command ADDSRVTBLE to duplicate these entries exactly as they appear, with the exception that you will specify a new port number. To get lowercase values to stay lowercase, make sure they are enclosed in single quotes.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “FTP Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password