But I only want to block pings from de subnet 10.5.50.0 to the subnet 192.168.0.0
wlan1 has the subnet 10.5.50.0
ether1 has the subnet 192.168.0.0
I want that users can ping to internet addresses.
You could use these as these rules block icmp-ping only (but allows other icmp packets to travel through (which in most cases is a good thing for error response))
add action=drop protocol=icmp icmp-options=0:0 src-address=10.5.50.0/24 dst-address=192.168.0.0/24.
add action=drop protocol=icmp icmp-options=0:0 src-address=192.168.0.0/24 dst-address=10.5.50.0/24
add action=drop protocol=icmp icmp-options=8:0 src-address=10.5.50.0/24 dst-address=192.168.0.0/24.
add action=drop protocol=icmp icmp-options=8:0 src-address=192.168.0.0/24 dst-address=10.5.50.0/24