Industrial routers XR5i v2 and XR5i v2E are used as a secure connection of two local networks (LAN) via two Ethernet interfaces 10/100. The connection is secured by using tunnels IPSec,OpenVPN or L2TP. The other use of XR5i v2 is as a converter from serial line RS232, RS485, MBUS alternatively I/O to IP local area network (LAN EHTERNET 100/10). The second option is to use this industrial XR5i v2 router for connecting two devices with different serial interface (RS232, RS485, M-Bus,..) alternatively I/O to the local network. In this configuration the communication device has an Ethernet port and two serial 100/10 interfaces that the user chooses. The third option is using a combination of two previous versions, when the industrial XR5i v2 router is equipped with two Ethernet interfaces 100/10 and one optional serial interface. The router can be equipped with WiFi module (XC-WiFi) or WMBUS module (XC-WMBUS) –Optional interfaces.