Community discussions

MikroTik App
 
Ergheiz
just joined
Topic Author
Posts: 2
Joined: Fri Feb 24, 2017 2:19 am

NAT helper strange issue

Wed Oct 04, 2017 1:35 am

Hello everyone,

It's the first time i post here, so if i make some mistakes, or your eyes bleed 'cause my english is epic, pls excuse me.

I have a misterious issue with the FTP NAT helper on 2 CCR, when a machine behind the CCR's try to connect to an Internet FTP Server (connecting as a client).

From the first CCR, the machine is unable to make a "dir" command to an FTP (Active) from Windows command-line, but, from a Explorer window, works like a charm. At first, i thought that behaviour happens because cmd must work on active mode, because don't support passive, and on explorer window yes, because you can configure it to work as passive. (I have previously read that an active FTP requires an incoming connection to the CCR port 20, and the problems that arise when translating that connection to the requesting machine).

But my surprise come when, from the second CCR, the machine is totally able to make a "dir" command to an FTP (Active) from Windows command-line, and explorer window too, with the same configuration (backup and restore).

The firewall is correctly configured on both CCR, all machines tested are behind the firewall and only a masquerade rule on NAT, but for some reason, all mentioned earlier happens.

Then various questions arise me...
  • The first CCR works as intended, or the second one?
  • It's the NAT Helper able to translate the port 20 connections from the Internet Server, to the machine that originated the ftp "dir" petition behind the CCR, without a manually configured NAT rule?
  • What are the workaround to make all the machines behind a CCR, reach and work with an Active/Passive FTP?
Thanks for your time in advance, and i repeat, if i made some mistake, excuse me.

Regards,
 
kelvynator
just joined
Posts: 14
Joined: Sat Apr 02, 2016 7:13 am

Re: NAT helper strange issue

Wed Oct 11, 2017 1:34 am

HI,

I have the same problem with a RB951 and several ftp client.
Do you still have the same problem or have you found a solution?

Thanks for your help.
 
Ape
Member Candidate
Member Candidate
Posts: 177
Joined: Sun Oct 06, 2013 3:32 pm
Location: Freiburg, Germany
Contact:

Re: NAT helper strange issue

Wed Oct 11, 2017 8:37 am

Hi,

you can try to disable the ftp service port in the routers's firewall settings.

Is the configuration on both CCR identical regarding NAT and firewall?

Regards,
Ape
 
kelvynator
just joined
Posts: 14
Joined: Sat Apr 02, 2016 7:13 am

Re: NAT helper strange issue

Thu Nov 23, 2017 9:24 am

Hello

I have solved my problem.
Disable the FTP services in "IP -> Services", but let's enable the FTP service ports in "IP -> Firewall -> Serices ports ".

Who is online

Users browsing this forum: Amazon [Bot], benlg, Google [Bot], jaclaz and 192 guests