Covering roof vents to keep out roof rats
Dryer vents are often equipped with covers that have louvers, such as this one



While a determined animal might squeeze through or gnaw a hole, it offers some protection.

There are also alternatives that use a spring loaded or weighted round flap under a cover, like this one



Again, same issues. They come in metal and plastic.  The metal may be a bit more animal proof.