Abstract: The disclosure relates to systems, methods and devices for secure routing and encrypting of network data streams passing through a network switch and connected IoT devices. Specifically, the disclosure relates to systems, computer-readable media and methods for securing IoT based devices using moving target defense by periodically generating, and providing randomized port identifiers that are valid for a limited period.