FTP PROBLEM

hi guys,


I got an issue here, how to enable the FTP for the miktrotik?

It keep redirect me to the miktrotik `s FTP instead of my FTP server .

FTP Server IP: 192.168.1.2

WAN: public IP, when I click on (wan public IP) it will redirect to Mikrotik`s FTP not to my FTP server.
when it promp username and password: it only can access via routers* users* not using my AD server users.

ftp://(Public IP)/




Please assist.

Router does not redirect anything anywhere by default. If router has public IP and you connect to it, you connect to router’s FTP server. So you probably want to forward a port to your real server. For example, this would be the simplest case, which would work for unencrypted connections from WAN:

/ip firewall nat
add action=dst-nat chain=dstnat dst-address-type=local dst-port=21 in-interface=<WAN interface> protocol=tcp to-addresses=192.168.1.2

hi

is still not working.

i try on my LAN for my FTP server, and it work. but whn i access from outside network.
ftp:\PUBLIC IP

it said operation timeout.


please assist

If you test it from outside network, it should work. Maybe you just need to allow it in forward chain:

/ip firewall filter
add action=accept chain=forward connection-nat-state=dstnat

If it doesn’t help, you can export your config by running “/export hide-sensitive” in terminal and post the result.