Page 1 of 1

Seem is am too stupid - Mobileconfig from .opvpn

Posted: Mon Feb 05, 2024 7:30 am
by andreashandler
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>


**************************************************

Re: Seem is am too stupid - Mobileconfig from .opvpn

Posted: Tue Feb 06, 2024 1:08 pm
by andreashandler
I found the solution. Thanks for the PM's

Re: Seem is am too stupid - Mobileconfig from .opvpn

Posted: Mon Feb 19, 2024 3:16 pm
by tothpatrik92
andreashandler wrote:
Tue Feb 06, 2024 1:08 pm
I found the solution. Thanks for the PM's
Can you tell me how you made it work? I cannot open the .ovpn file since OpenVPN app does not show up when I open the file :/