S
S
sprocker2014-07-07 13:40:47
FTP
sprocker, 2014-07-07 13:40:47

Mikrotik: Client behind NAT, FTP server on the Internet. How to be?

Good day to all!
Tell me, please, what to do in such a situation: I
connect to the FTP server in passive mode.
The client establishes a connection:
227 Entering Passive Mode (xx,xx,xxx,xx,xx)
Next comes the retrieval of a list of directories. and then I noticed this:
Instead of the ip of the FTP server, the client receives the external IP of the router:

150 Data connection accepted from yyy.yyy.yyy.yyy:port ; transfer starting.

Accordingly, the connection is terminated on this
I think that you need to write some rules in Mikrotik (rb2011uias-2hnd-in), but I don’t know which ones

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sprocker, 2014-07-08
@sprocker

And the helper was turned off, and the server
Spat - decided to update the system
Oddly enough - it worked. Although the version is the same, and the signatures

G
Gem, 2014-07-08
@Gem

and can turn off the helper?
/ip firewall service-port disable ftp and /ip service disable ftp
server to start

O
Oleg Voitenko, 2014-07-07
@OliverV

you need to register public ip on mikrotik ftp server. otherwise you get an ip on which Mikrotik is spinning, and you get a connection with the Mikrotik FTP server (and it is there and most likely it is running, and gives you either a ban on the Mikrotik firewall (by default, FTP Mikrotik is closed for outside access. You need to have more one public ip and assign it to the piece of iron on which your ftp is running. I hope I explained it clearly. if anything, knock on the mail voytenko (at) globalnet.com.ua

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question