Hello,
I am trying to connect to my home openVPN Server with the internal openVPN client in the GL-MT3000.
But when I look at the logs it doesn’t find the p12 file that is in the zip file I uploaded to configure the connection.
The config file looks like this (Hostname is fake for security reasons.)
#OpenVPN Client conf
tls-client
client
nobind
dev tun
proto udp
tun-mtu 1492
remote 123domain.com 1194
pkcs12 vps.p12
cipher AES-256-CBC
auth SHA512
verb 3
remote-cert-tls server
verify-x509-name 123domain.com name
mssfix 0
auth-nocache
auth-token-user USER
auth-token TOTP
auth-retry interact
And here is the OpenVPN log from the GL-MT3000
Sat Sep 9 18:29:33 2023 daemon.notice netifd: Interface 'ovpnclient' is setting up now
Sat Sep 9 18:29:33 2023 daemon.warn ovpnclient[26196]: DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
Sat Sep 9 18:29:33 2023 daemon.notice ovpnclient[26196]: OpenVPN 2.5.3 aarch64-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Sat Sep 9 18:29:33 2023 daemon.notice ovpnclient[26196]: library versions: OpenSSL 1.1.1q 5 Jul 2022, LZO 2.10
Sat Sep 9 18:29:33 2023 daemon.warn ovpnclient[26196]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sat Sep 9 18:29:33 2023 daemon.err ovpnclient[26196]: Error opening file vpn.p12
Sat Sep 9 18:29:33 2023 daemon.notice ovpnclient[26196]: Exiting due to fatal error
Sat Sep 9 18:29:33 2023 daemon.notice netifd: ovpnclient (26199): cat: can't open '/tmp/run/ovpn_resolved_ip': No such file or directory