Vpn cannot be started in app if pushed via mdm

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
ktykls
OpenVpn Newbie
Posts: 7
Joined: Thu Jan 19, 2023 2:59 pm

Vpn cannot be started in app if pushed via mdm

Post by ktykls » Thu Jan 19, 2023 3:04 pm

Hello, i'm trying to push vpn configuration with mdm but toggle switch doesnt work in app if config pushed with mdm. (works in settings , only i cant turn it on in application)

If i try to upload config in app it works. I'm wondering is my configuration wrong or is it a bug related openvpn?

same as this topic but that solution given by user did not worked for me though: viewtopic.php?t=34824

App version: 3.3.2

Config:

Code: Select all

<array>
    <dict>
        <key>VPN</key>
        <dict>
            <key>AuthenticationMethod</key>
            <string>Password</string>
            <key>RemoteAddress</key>
            <string>DEFAULT</string>
        </dict>
        <key>VPNSubType</key>
        <string>net.openvpn.connect.app</string>
        <key>VPNType</key>
        <string>VPN</string>
        <key>VendorConfig</key>
        <dict>
            <key>auth</key>
            <string>SHA512</string>
            <key>ca</key>
            <string>(OMITTED)</string>
            <key>cert</key>
            <string>(OMITTED)</string>
            <key>cipher</key>
            <string>AES-256-CBC</string>
            <key>client</key>
            <string>NOARGS</string>
            <key>dev</key>
            <string>tun</string>
            <key>key</key>
            <string>(OMITTED)</string>
            <key>key-direction</key>
            <string>1</string>
            <key>nobind</key>
            <string>NOARGS</string>
            <key>persist-key</key>
            <string>NOARGS</string>
            <key>persist-tun</key>
            <string>NOARGS</string>
            <key>proto</key>
            <string>udp</string>
            <key>remote</key>
            <string>(OMITTED)</string>
            <key>remote-cert-tls</key>
            <string>server</string>
            <key>resolv-retry</key>
            <string>infinite</string>
            <key>tls-auth</key>
            <string>(OMITTED)</string>
            <key>tls-version-min</key>
            <string>1.2</string>
            <key>vpn-on-demand</key>
            <string>0</string>
        </dict>
    </dict>
</array>

frbr
OpenVpn Newbie
Posts: 4
Joined: Tue Aug 02, 2022 1:59 pm

Re: Vpn cannot be started in app if pushed via mdm

Post by frbr » Tue Feb 21, 2023 10:29 am

I too have still the same problem which I have described here: viewtopic.php?p=107871#p107871

ktykls
OpenVpn Newbie
Posts: 7
Joined: Thu Jan 19, 2023 2:59 pm

Re: Vpn cannot be started in app if pushed via mdm

Post by ktykls » Tue Mar 07, 2023 10:33 am

frbr wrote:
Tue Feb 21, 2023 10:29 am
I too have still the same problem which I have described here: viewtopic.php?p=107871#p107871
Thanks for comment, i wrote to your thread too, at the beginning i suspect that am i configure payload wrongly but i tried multiple mdm services, its probably bug related with openvpn connect app. I hope that will fixed soon :)

ktykls
OpenVpn Newbie
Posts: 7
Joined: Thu Jan 19, 2023 2:59 pm

Re: Vpn cannot be started in app if pushed via mdm

Post by ktykls » Tue May 09, 2023 12:47 pm

any news ? :/ ...........

Post Reply