Seem is am too stupid - Mobileconfig from .opvpn
Posted: Mon Feb 05, 2024 7:30 am
Hello,
i am trying to configure the OpenVPN App via .mobileconfig. But i don't get it working.
The ovpn import manually works, but i can't create a .mobilconfig out of it that is not having "on demand" enabled.
Could anyone create an .mobileconfig out of this, so that i am able to identify my mistaked?
********************************************************************************************
client
dev tun
proto udp
remote vpnserver.domain.com 1194
resolv-retry infinite
nobind
remote-cert-tls server
tls-version-min 1.2
verify-x509-name raspberrypiVPN_50f0a625-3cd9-4fd3-9a2a-095cb265f0d3 name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
<ca>
-----BEGIN CERTIFICATE-----
1234
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
1234
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
1234
-----END ENCRYPTED PRIVATE KEY-----
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
1234
-----END OpenVPN Static key V1-----
</tls-crypt>
**************************************************
i am trying to configure the OpenVPN App via .mobileconfig. But i don't get it working.
The ovpn import manually works, but i can't create a .mobilconfig out of it that is not having "on demand" enabled.
Could anyone create an .mobileconfig out of this, so that i am able to identify my mistaked?
********************************************************************************************
client
dev tun
proto udp
remote vpnserver.domain.com 1194
resolv-retry infinite
nobind
remote-cert-tls server
tls-version-min 1.2
verify-x509-name raspberrypiVPN_50f0a625-3cd9-4fd3-9a2a-095cb265f0d3 name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3
<ca>
-----BEGIN CERTIFICATE-----
1234
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
1234
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
1234
-----END ENCRYPTED PRIVATE KEY-----
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
1234
-----END OpenVPN Static key V1-----
</tls-crypt>
**************************************************