MauroRiboniMX_0-1697096904551.gif

Machine Remote Access: Use MB connect line service with ctrlX CORE and ctrlX VPN Client

MauroRiboniMX
Contributor

Production machines are really different from each other but every machine has a controller (or more) and various devices and it may be needed to access them remotely in order to debug, reset and service the machine. We can now use ctrlX CORE as a remote access device using the services from MB connect line.The guide is not intended as a complete explanation over the product, here we want to highlight the steps needed to use the service together with ctrlX AUTOMATION.

MB Connect ctrlX COREMB Connect ctrlX CORE

Equipment needed
  • ctrlX CORE with 2.02 or higher.
  • VPN Client app 2.02 or higher.
  • Internet access.
  • MBConnect account and Licence.
  • Something to remote access.

Overview of the used setup

Setup MBConnectSetup MBConnect

Setup the Remote Access
Step 1: Setup internet connectivity and open IP forwarding

The first step is to setup internet connectivity and open the IP forwarding settings of the interface, we want to use to remote access the device. In my case I have done it for both XF51 and XF10 but it is needed just for the interface in the machine lan. Internet connectivity has been provided using a WiFi dongle. 

Setup internet connectivity and open IP forwardingSetup internet connectivity and open IP forwarding

Step 2: Login inside the MBConnect dialup tool, configure it and download the certificate

For the correct usage of the tool please refer to the MBConnect website.

What is important while starting with the tool is to choose the right Device Type while creating the device. In our case we need a VPN-Client device.

MB Connect Device TypeMB Connect Device Type

Once the device is created we went trough the configuration of the subnet and the WEB Server settings. We can then download with the top button the certificate to be installed in the device.

Device ConfigurationDevice Configuration

Step 3: Install the certificate and test the VPN connection

The file .zip downloaded has the following content: a .ovpn file and a private folder with the credentials. Both of them should be loaded inside the vpn app. Lets start unzipping them.

Files from MBConnectFiles from MBConnectOnce the file is unzipped we have to go to setting ➡️ VPN and then load the configuration file "vpnclient.ovpn" specifying the file VPN type.

Upload Configuration fileUpload Configuration file

OpenVPN SelectOpenVPN Select

 We now have to edit the configuration and add the missing files.

Edit ConfigurationEdit Configuration

 To upload them simply click on the button, select the file and upload it.

Private FilesPrivate Files

 In case we're using the European Public server we have to add this option to the configuration and save:

Cipher SelectCipher Select

Now we can exit and test the VPN connection, we can configure the VPN app to autoconnect at boot, to connect using the signal fom an IO. Here is the official documentation: VPN app Docs. 

Open the IP forwarding option also for the tun0 interface as done in the Step 1. 

Step 4: Try the remote access

Once the device is connected we can go back on the MBConnect Dialup software and clock on the connect button. We should then be able to use the devices in the 192.168.1.X network and program them. 

Connect ButtonConnect Button

 

Have fun 😎

MauroRiboniMX
MauroRiboniMX
Hello, I am Mauro a ctrlX DEVELOPR at night and an Application Engineer during the day 😎 . Ask me anything about ctrlX AUTOMATION but my best topics are IoT, AI, SDK and Communication!
Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist