Most routers include built-in firewalls.

Enable:

Firewalls block suspicious incoming connections.