Abstract: The patent describes the embodiment of system and methods of a modular IOT enabled router with user controllable and pluggable modules. The architecture of the router and plugins allow users to install packet level and application level modules at real-time without affecting the latency and router performance. The installed modules are executed in parallel in their own executing unit and in the predefined or user-specified order. The leveled architecture allows fine-grain control of the routing and forwarding internals like QOS, deep packet inspection, encryption, traffic flow control, and traffic filtering via packet level modules. At the same time, it allows running service like a proxy, firewall, web acceleration, ad-blocking via application level modules. The full control provides an easy interface for a developer to write plugins for new protocols, SDN, IOT, and user applications and run them in separate controlled execution engine without affecting the core router engine that is running security.