change ftp port number
-
- Posts: 28
- Joined: Sun Nov 15, 2015 1:36 pm
change ftp port number
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
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
Re: change ftp port number
Procedure is OK.
Please paste your and
I try change on my server
Please paste your
Code: Select all
vsftpd.conf
Code: Select all
iptables -S
-
- Posts: 28
- Joined: Sun Nov 15, 2015 1:36 pm
Re: change ftp port number
Here is the config
Please guide me.. thx
IPTABLE

VSFTP

-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?
Please guide me.. thx
IPTABLE

VSFTP

-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?
-
- Posts: 9
- Joined: Wed Dec 02, 2015 9:52 am
Re: change ftp port number
What's the error message you get when connecting?.
Also did you open port 2500 through VestaCP Web interface?.
Also did you open port 2500 through VestaCP Web interface?.
-
- Posts: 28
- Joined: Sun Nov 15, 2015 1:36 pm
Re: change ftp port number
SFTP return "refuse"
And i already config iptable to accept port 2500 on tcp
And i already config iptable to accept port 2500 on tcp
Re: change ftp port number
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.