Hi,
i need some help with a mobileconfig file for ios devices. The instructions and templates from several webpages don´t work for me.
The OpenVPN Connetion App works properly, but i need the ondemand functionality of the mobileconfig file.
The server is a Pi 4 4GB with a fresh Raspberry Pi OS with desktop (May 2020) and is uptodate.
The log from the OpenVPN server shows no errors or connection attempts, so the iphone (X)
doesn't even reach the server.
Maybe some one can provide me a working mobileconfig file as a template, of course without personal data.
greeting
Miro
OpenVPN iphone mobileconfig no connection
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Jul 05, 2020 1:47 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Jul 05, 2020 1:47 pm
Re: OpenVPN iphone mobileconfig no connection
Someone? Please!
-
- OpenVpn Newbie
- Posts: 8
- Joined: Fri Jul 10, 2020 9:03 am
Re: OpenVPN iphone mobileconfig no connection
Hi Miro,
i had a working mobileconfig since iOS App 3.2.0 - which version do you use?
Do you have a specific domain that should trigger the vpn-connection?
i had a working mobileconfig since iOS App 3.2.0 - which version do you use?
Do you have a specific domain that should trigger the vpn-connection?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jul 14, 2020 5:29 am
Re: OpenVPN iphone mobileconfig no connection
Hi erich,
i use the iOS version 13.5.1 and have no specific domains but i will use the VoD for in/secure WiFi’s.
i use the iOS version 13.5.1 and have no specific domains but i will use the VoD for in/secure WiFi’s.
-
- OpenVpn Newbie
- Posts: 8
- Joined: Fri Jul 10, 2020 9:03 am
Re: OpenVPN iphone mobileconfig no connection
As far as i understood VoD needs some kind of trigger - in my case it is my local domain.
What triggers your VoD ?
Leaving home-WiFi ?
Code: Select all
<dict>
<key>Action</key>
<string>EvaluateConnection</string>
<key>ActionParameters</key>
<array>
<dict>
<key>Domains</key>
<array>
<string>mydomain.local</string>
<string>*.mydomain.local</string>
</array>
<key>DomainAction</key>
<string>ConnectIfNeeded</string>
</dict>
</array>
</dict>
Leaving home-WiFi ?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jul 14, 2020 5:29 am
Re: OpenVPN iphone mobileconfig no connection
The SSID‘s of the WiFi’s should trigger the VoD.
Known WiFi = no vpn
Unknown WiFi = vpn
Known WiFi = no vpn
Unknown WiFi = vpn