Ubuntu File Server Port Forwarding NAT Rule not working

Hello,

I have an Ubuntu Server running File Run. I tried forwarding port port 21, and 80 but after doing some digging It seems that I need more than one port open. Any thoughts?

Thanks

Port 21 ? Why you keep port 21 open ? That is for FTP. To forward to port, first set staric ip for server. Then add NAT rule to dst-nat and insert port 80 there.

You could leave the default ports and let it be for the router.
Use 221 and 808. Go to IP > Firewall > NAT
Do a port forwarding to the destination IP of the ubuntu server. Specify Action as “netmap”

Have you rebooted the router after setting that forward? Or deleted the connection list?
Because of connection tracking, a NAT rule doesn’t kick in immediately if there is an existing tracked connection on that port, from a previous connection attempt, until that initial it times out (which sometimes cold mean a long time).

I think the issue may be that http and ftp is enabled in ip → services

Now the router is catching all the connections instead of forwarding them to the server.

Do you see any packets passing to the server when trying to access it remotely on port 80?