Port forwading with source from a DDNS domain

I have Openwrt setup in my home and some services running on a NAS behind my router. I want to open some of that services for my friends to use. But openwrt doesn't allow me to configure source as a DDNS domain in port forwarding. I tried freshtomato before and it allow me to do so, I only need to restart firewall when their IP has been changed.
Is there anyway to work around or archive this situation? Thank you in advance.

You can filter by names if you use ipset.

1 Like