Using a router as a general-purpose server