In firewall settings, local port for inbound rule is pretty obvious: that is the port you want to listen. However, remote port sounds nonsense: In typical protocol, client uses arbitrary port so restricting remote port will break your service.
image is borrowed from What are differnet between local port and remote port of firewall in Windows 2016 server?
Although the image is windows firewall settings, I guess other firewalls have similar.
Is there any case to restrict client port(remote port) for inbound traffic?