Hi all.
I would like to have shared folders of my nas(WDMyCloud) through internet by smb.
Nas has smb, ssh, ftp protocol support.
I have mikrotik router.
How can I use it to implement my idea?
Thanks.
Hi all.
I would like to have shared folders of my nas(WDMyCloud) through internet by smb.
Nas has smb, ssh, ftp protocol support.
I have mikrotik router.
How can I use it to implement my idea?
Thanks.
Forwarding port 445 (Direct-SMB) to a Windows machine would allow to connect to its SMB service. See if the same works on the NAS. Try accessing the share from your LAN first by typing the device’s IP address in Explorer. When dealing with Windows computers, I was only able to connect by IP or by the hostname that matches the “computer name” set up on the server computer, not any other domain name like example.sytes.net. The SMB on the NAS might not be so strict. SMB will only work well with a low latency connection, such as within the same city or country.
If your router also has an active firewall, you would need to allow the port through by creating an “accept” rule at the top of the Filter Rules list.
FTP is generally more reliable if the NAS allows for a configurable port range for passive mode, because in most clients you can easily see the connection log and see where it breaks, unlike SMB which on windows would only return a cryptic error message. If you would like to also allow FTP access, you have to forward the configured passive port range to the NAS box the same way, as well as the control connection port (by default it is 21). You probably want to use another port on the WAN side (“dst-port”).