I have configured and OpenVPN server on an OpnSense firewall and download the configurations.
I have imported into OpenVPN connect and when I try to connect the connect software just closes after about 5 seconds with no error or message.
OpenVpn Connect won't connect to OpnSense configuration
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Nov 07, 2023 4:15 pm
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Nov 21, 2023 10:58 pm
Re: OpenVpn Connect won't connect to OpnSense configuration
Hello,
i have the same Problem.
I know that other Profiles work. So i guess that it has something to do with the configuration.
I can see the Crash in Windows Event Viewer and 2 Lines in the OpenVPN LOG.
I also tried OpenVPN GUI, which worked.
Maybe somebody else has an Idea whats the Problem.
OpenVPN Log:
Windows Event Viewer Error:
Profil which is working:
Profil which isnt working:
i have the same Problem.
I know that other Profiles work. So i guess that it has something to do with the configuration.
I can see the Crash in Windows Event Viewer and 2 Lines in the OpenVPN LOG.
I also tried OpenVPN GUI, which worked.
Maybe somebody else has an Idea whats the Problem.
OpenVPN Log:
Code: Select all
[Nov 21, 2023, 23:59:29] EVENT: DISCONNECTED ⏎[Nov 21, 2023, 23:59:34] OpenVPN core 3.8.2connect1 win x86_64 64-bit OVPN-DCO built on Aug 21 2023 16:29:24
[Nov 21, 2023, 23:59:34] Frame=512/2112/512 mssfix-ctrl=1250
Code: Select all
Name der fehlerhaften Anwendung: OpenVPNConnect.exe, Version: 3160.0.0.0, Zeitstempel: 0x62b34331
Name des fehlerhaften Moduls: ntdll.dll, Version: 10.0.22621.2506, Zeitstempel: 0xbced4b82
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000026863
ID des fehlerhaften Prozesses: 0x0x179C
Startzeit der fehlerhaften Anwendung: 0x0x1DA1CBB8AEBDA60
Pfad der fehlerhaften Anwendung: C:\Program Files\OpenVPN Connect\OpenVPNConnect.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\ntdll.dll
Berichtskennung: 9fed6ec2-917b-4ea5-b31b-5c3430f0b846
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
Profil which is working:
Code: Select all
dev tun
persist-tun
persist-key
cipher AES-128-CBC
auth SHA1
client
resolv-retry infinite
remote XXX.XXX.XXX.XXX XXXX udp
lport 0
verify-x509-name "XXXXXXXXXXXXXXXX" subject
remote-cert-tls server
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 1
Code: Select all
dev tun
persist-tun
persist-key
cipher AES-256-CBC
auth SHA512
client
resolv-retry infinite
remote XXX.XXX.XXX.XXX XXXX udp
lport 0
verify-x509-name "XXXXXXXXXXXXXXXXXXXXX" subject
remote-cert-tls server
auth-user-pass
providers legacy default
pkcs12 XXXXXXXXXXXXXX.p12
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-auth>