Hi,
It seems like you want to restrict access to your device so that only specific IP addresses from the WAN side can connect to it, right?
If that’s the case, here’s a simple guide on how to set it up using firewall rules: Link to tutorial
If you have any more questions, feel free to ask.
Best regards,