Effacer les filtres
Effacer les filtres

Remote access to a Simulink Real-Time Speedgoat target through VPN

32 vues (au cours des 30 derniers jours)

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 18 Juil 2024 à 0:00
Modifié(e) : MathWorks Support Team le 18 Juil 2024 à 13:09

Option 1: Target Access with Remote Host PC through VPN

The recommended approach is to install a remote host PC next to the Speedgoat real-time target machine and then a remote desktop connection is established to this PC:
It is a much easier setup as the configuration effort required should be the same as for any other remote desktop access. Since the remote host PC is directly connected to the Speedgoat target machine, there is no Speedgoat-specific additional configuration required on the VPN infrastructure.
It has also other benefits, such as a better response time and transfer speed, so use cases with large file transfers or logging should always consider option 1.
Note that restrictions may apply for remote usage of MATLAB for Designated Computer licenses. Refer to the MathWorks Software License Agreement shipped with your MATLAB installation first:
 

Option 2: Direct Target Access via Host Link through VPN

Another possible option is to directly access the Speedgoat target via the host link through VPN:
However, this option is not recommended as it will often not work if a restrictive or poor quality IT infrastructure is in place. The response time and transfer speed over such a remote connections is also usually slower than in option 1.
Furthermore, we develop and test Simulink Real-Time with the assumption that the host and target are connected directly through a local network (LAN) with the same subnet. We don't officially support or test connections through VPN, because there are too many different varieties of VPNs in the market and it's not feasible for us to test every VPN connection to make sure that it works. We won't be able to offer official support for option 2.
The only tip that we can provide is to open all ports in the VPN firewall that are used for the host-target connection. More information about that can be found here:

Important notes:

(1) Certain VPN solutions use NAT, which stands for Network Address Translation. NAT is not supported with Simulink Real-Time, as it is not compatible with some of the communication protocols that are used to establish the host-target connection. Use a VPN service that does not use NAT. See:
(2) You can use a network power switch to turn on and off the power of the real-time target machine. Such power switches can easily be purchased online and Speedgoat Inc. have made good experiences with the following product, but there are many other vendors for such devices:
https://www.netio-products.com/en/device/powerpdu-4c 
(3) To ensure proper network configuration, you may need to change the gateway of the Speedgoat real-time target machine. Here are the steps to do so:https://www.mathworks.com/matlabcentral/answers/2039236-how-can-i-access-a-simulink-real-time-slrt-speedgoat-target-computer-on-a-separate-network ​​​​​​​

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Simulink Real-Time dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by