NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
kawivukan
Sep 12, 2020Guide
Help with RAX20 and port forwarding FTP
I just got this router today and have it setup through a Xfinity Gateway in bridged mode. Previous to this on the Gateway, I was able to port forward my Raspberry PI FTP server (port 21) and access it outside of my home network. So, I tried to do the same with the RAX20 router and I cannot get it to work, no matter what I do. I'm able to FTP while on my LAN and it defaults to port 22. I have gone through every setting I could think of and nothing lets me open up port 21.
Has anyone been able to open port 21 or is this port permently closed on this router? Even trying to Port forward 22 (Since it works locally) doesn't work. I expected something like an xfinity Gateway to give me this many problems and not a Nighthawk router. Firmware is all updated, and have gone through every setting i could think of. Anyone else have this many problems or know of a solution? thanks
There is only one port 21/TCP ... if the router is configured on ReadyShare to FTP, port 21/TCP is obviously already occupied. Disable the FTP service on the advanced ReadyShare settings.
I would expect that this does free up port 21/TCP on the WAN interface to become available for the port forwarding. Netgear has an old flaw on port 443 (the default https one) - even with the https remote access service and https ReadyShare disabled or relocated to an alternate port, the port 443/TCP isn't becoming available for port forwarding.
Something general ref. ftp: These routers (including your previous one) have an application layer gateway (ALG) listening on the standard ports, e.g. 21/TCP for FTP on the handshake communication for the passive connection, dynamically adding a port forward to that port. If using FTPS (encryption) the ALG can't work so you need to configure the passive port range configured on the ftp server in a port forward range.
9 Replies
This is just an update on trying to get it working. I'm still unable to get it to port forward but if I have the ReadyShare setup (To a USB drive plugged into the Router) I have no problem with logging into that with FTP and port 21. My only guess is that Port forwarding Port 21 Is only optional when ReadyShare is on and has no option to assign it to any other device. I've tried literally everthing I can think of to try and get this working.
- schumakuGuru - Experienced User
There is only one port 21/TCP ... if the router is configured on ReadyShare to FTP, port 21/TCP is obviously already occupied. Disable the FTP service on the advanced ReadyShare settings.
I would expect that this does free up port 21/TCP on the WAN interface to become available for the port forwarding. Netgear has an old flaw on port 443 (the default https one) - even with the https remote access service and https ReadyShare disabled or relocated to an alternate port, the port 443/TCP isn't becoming available for port forwarding.
Something general ref. ftp: These routers (including your previous one) have an application layer gateway (ALG) listening on the standard ports, e.g. 21/TCP for FTP on the handshake communication for the passive connection, dynamically adding a port forward to that port. If using FTPS (encryption) the ALG can't work so you need to configure the passive port range configured on the ftp server in a port forward range.
Thank you.I was able to get it sorted out with what you mentionted.