In this paper, we present a framework for teleoperation and the maintenance of industrial robots. The idea of the framework is to provide a rapid change of products to be manufactured and safely monitor and carry out the maintenance remotely. Also, the goal of the work is to provide an easy-to-use HMI for user of the robot. Remote connection relies on the Internet that is nowadays easily available, cheap and includes a lot of existing components to be used. As an illustration of this framework we present a web-based user interface that enables the user to operate remotely to robot workcell with an industrial robot.