howto-howto-1444x512

Connect ctrlX COREvirtual to the internet

CodeShepherd
Community Moderator
Content

This expert guide shows how to configure the ctrlX COREvirtual to connect it to the internet. For e.g. installing NodeRed pallets in the ctrlX CORE - Node-RED App.

Beware that a connection test via ping to a server in the internet is not possible because of the emulator. For further details see external documentation.

 

Use cases

ctrlX COREvirtual is using:

  1. Port forwarding mode and PC is in home network (open internet)
    • No proxy or special settings needed. The control emulation will directly connect to your PCs network and internet (NAT) when booted up.

  2. Port forwarding mode and PC is behind corporate proxy (company network)
    • A proxy tool is needed. See below.

  3. Port forwarding mode and PC is using VPN
    • A proxy tool is needed. See below.

      ctrlX COREvirtual port forwarded connection to internetctrlX COREvirtual port forwarded connection to internet

  4. Network adapter mode and PC is connected to home network (open internet)
    • A proxy tool is needed. See below. 

 

Some Background

10.0.2.2 is the IP address of your host system using ctrlX COREvirtual in port forwarding mode (127.0.0.1). (E.g. if host is using a VPN)

In normal network adapter mode, you have to replace it with the corresponding IP address of the windows interface (by default: 192.168.1.101 for interface 1, 192.168.1.102 for interface 2 and so on)

Assumptions
  • Current version of ctrlX WORKS is installed.
  • Latest release of Px.exe or a similar proxy running on the PC, and allows connections from other interfaces (gateway mode). This tool will start processes invisible in the background. See task manager if it is running. There will be 2 or 3 instances if everthing is correct.
    !Please beware that this is an open source tool not provided by Rexroth!
  • Firewall inbound exception has to be added that allows incoming connections to port 3128:
    CodeShepherd_0-1631091542175.png
    Windows firewall settings "Programs and Services"Windows firewall settings "Programs and Services"Windows firewall settings "Protocols and Ports"Windows firewall settings "Protocols and Ports"


Steps
  1. Start your proxy tool (e.g. Px)
  2. Log into the ctrlX COREvirtual and navigate to the proxy settings
  3. Add proxy address (e.g. http://10.0.2.2:3128) and save:
    CodeShepherd_0-1629878432821.png
  4. Restart of the control is required for settings to take effect.

CodeShepherd
CodeShepherd
Technical sales support from Bosch Rexroth

Must Read

Trending

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