Answer the question
In order to leave comments, you need to log in
How to make an FTP server available behind NAT + Cloud Mikrotik and behind a NAT provider with a dynamic IP?
Such situation.
There is an Internet provider with the issuance of dynamic ip-addresses and a connection via PPPoE.
There is a Mikrotik router with the IP / Cloud service enabled on it.
There is a NAS Dlink327 with ftp enabled on it.
Task: to make available the ftp-server from the Internet.
My course of action is this. First, I create a rule in IP / Firewall / NAT that forwards for external connections (chain: dstnat, in.interface: my_pppoe, action: netmap) port 20021 to port 21 of the NAS.
After that, a connection is created from the external Internet (client: Filezilla, host: xxx.sn.mynetname.net, port: 20021) :
Status: Connecting to my_ip:21...
Status: Connected, waiting for prompt...
Error: Unable to connect to server
Answer the question
In order to leave comments, you need to log in
and here I am with a stupid question a little off topic. why actually ftp?
if mikrotik has a white dynamic ip, then just open one more minimum port - 20.
Port / ID: 21 / TCP for commands, 20 / TCP for data, 49152-65534 / TCP dynamically
more here: https://ru.wikipedia. org/wiki/FTP
if you are sitting at the provider behind nat - either VPN, or buy a white IP address from the provider (static or not - decide for yourself with them).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question