A very noob question about dst-nat rules

For example I need to forward packages on several ports to same address in LAN - NO port rewriting, only address rewriting.

Options are:
A) One rule per port and add comment accordingly - easier on maintenance I guess?
B) One rule for all ports with same LAN address and protocol - shorter list under NAT.

Which one is better? Does option B give any advantage on performance or is it very minor?

Thanks!

You want traffic to pass through the minimum number of rules so I would create an interface list and then reference that in a single rule…

Hi zhangxiao:

I shall prefer the option B… If you’re able to configure a firewall or nat rule with fewer posible lines, this firewall isn’t going to affect the performance of your router