A router is a device that connects any number of LANs.
Routers use headers and a forwarding table to determine where packets go,
and they use ICMP to communicate with each other and configure the best
route between any two hosts.
Very little filtering of data is done through routers. Routers do not care
about the type of data they handle.