disable ssh acccess from outside only

How can I disable ssh access from outside only?

Thanks.

add firewall rule that drops all incoming ssh packets to wan interface.