S
S
Smoke User2018-04-18 13:56:54
Computer networks
Smoke User, 2018-04-18 13:56:54

How to forward group of ports for FTP on CISCO?

Hi all.
faced such a problem.
I made a port forwarding for FTP
ip nat source static tcp 172.16.1.15 21 external ip 2121 extendable
on the local machine Filezilla FTP server is installed as a
client connection, I do everything, everything goes fine and at the end there is such an error:

spoiler
Статус: Соединение установлено, ожидание приглашения...
Статус: Небезопасный сервер, не поддерживает FTP через TLS.
Статус: Авторизовались
Статус: Получение списка каталогов...
Команда: PWD
Ответ: 257 "/" is current directory.
Команда: TYPE I
Ответ: 200 Type set to I
Команда: PASV
Ответ: 227 Entering Passive Mode (213,145,138,22,195,97)
Команда: MLSD
Ошибка: Соединение передачи данных не может быть установлено: ECONNREFUSED - Соединение отклонено сервером
Ответ: 425 Can't open data connection for transfer of "/"
Ошибка: Не удалось получить список каталогов

I suspect that I did not open enough ports for FTP.
Please advise, thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Grishin, 2018-04-19
@Astarot

You need to enable inspect ftp on the cisco so that it can read what port is expected for an FTP DATA connection and allow it.

B
BjLomax, 2018-04-23
@BjLomax

Enable custom port range in Filezilla and saturate for all translation ports (for all separate points, the ranges of the ciska are not able to)
ip nat source static tcp 172.16.1.15 12345 213.145.138
. extendable
.....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question