Connect Mobile UI via VPN

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
Romero
Posts:27
Joined: Wed Jul 19, 2017 9:24 am

Connect Mobile UI via VPN

Post by Romero »

We are trying to connect a remote Mobile UI via VPN to our server but it wont work with the settings we are using. Please see the first screenshot I have attached. I think it has something to do with the config.webclient and the difference between IP ranges (192.168.192.0/24 for the server local net and 172.29.0.0/24 for the VPN), however I did not find any examples with such configuration.

Versions we are using:
- WinCC OA 3.16 P005
- SIMATIC WinCC OA UI 3.16 P007 (Mobile app for android)
- Android 8.0 and 6.0

I created a new user on the VPN on a Sinema RC, exported the OpenVPN config and downloaded the PKCS#12 cert. Installed OpenVPN and the Mobile UI on the mobile device and checked that I had connection.

After that I added a new project on the Mobile UI with the IP of the server on the VPN, enabled HTTPS and port defined on the server config file for https.

Tried to connect to the server and it said the device was locked in the project, went to the system management, checked that the device i was trying to connect was there and we had enough licenses and unlocked it.

I do not know if I missed additional configurations or it is just the config.webclient file.

Best regards,
Agustín Romero.
Attachments
Screenshot_1.jpg

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: Connect Mobile UI via VPN

Post by gschijndel »

Do you have UIs on the local net and VPN?

Romero
Posts:27
Joined: Wed Jul 19, 2017 9:24 am

Re: Connect Mobile UI via VPN

Post by Romero »

First of all, sorry for the delayed reply, the support solved this.

Yes, we have at least other two UIs on the local but not for mobile UI. By your question I imagine there is a different configuration if you need UIs in the local net and in the VPN.

The problem was with the "config.webclient", which we did not configure for the VPN. In this case, it will look like:

[general]
pvss_path = "Installation Directory"
proj_path = "Project Directory"
proj_version = "3.16"
langs = "en_US.utf8"

data="vpnServerIP:dataPort"
event="vpnServerIP:eventPort"
mxProxy="vpnMxIP cert"


Best Regards
Agustín Romero

3 posts • Page 1 of 1