Hi.
DSM 6.2.4-25556 Update 5
I changed FTP port 21 to 30021.
CP > File Services > FTP > Port number setting of FTP : 30021
Port forwarding on router is correctly setup (30021/tcp->30021/tcp)
This works except when I use a FQDN to access the NAS from inside (!) the LAN.
There is a reason why I have to use the FQDN addressing i.s.o. local LAN IP of the NAS.
However I don't see a reason why this should not work.
(it works for other services as well)
This works properly:
LAN FTP client : LAN IP port 30021/tcp -> NAS listen 30021/tcp
WAN FTP client : FQDN port 30021/tcp -> NAS listen 30021/tcp
This doesn't work:
LAN FTP client : FQDN port 30021/tcp -> NAS listen 30021/tcp
If I change the router port forwarding into a port redirection 30021/tcp->21/tcp, all works as expected:
LAN FTP client : LAN IP port 30021/tcp -> NAS listen 21/tcp
LAN FTP client : FQDN IP port 30021/tcp -> NAS listen 21/tcp
Why is the FTP connection not working in conjunction with port forwarding and FQDN inside the LAN?
DSM 6.2.4-25556 Update 5
I changed FTP port 21 to 30021.
CP > File Services > FTP > Port number setting of FTP : 30021
Port forwarding on router is correctly setup (30021/tcp->30021/tcp)
This works except when I use a FQDN to access the NAS from inside (!) the LAN.
There is a reason why I have to use the FQDN addressing i.s.o. local LAN IP of the NAS.
However I don't see a reason why this should not work.
(it works for other services as well)
This works properly:
LAN FTP client : LAN IP port 30021/tcp -> NAS listen 30021/tcp
WAN FTP client : FQDN port 30021/tcp -> NAS listen 30021/tcp
This doesn't work:
LAN FTP client : FQDN port 30021/tcp -> NAS listen 30021/tcp
If I change the router port forwarding into a port redirection 30021/tcp->21/tcp, all works as expected:
LAN FTP client : LAN IP port 30021/tcp -> NAS listen 21/tcp
LAN FTP client : FQDN IP port 30021/tcp -> NAS listen 21/tcp
Why is the FTP connection not working in conjunction with port forwarding and FQDN inside the LAN?