OpenVPN server on my Asus RT-AC68U router has stopped working. I have tried rebooting, stop/starting the server, changing the config settings and a firmware upgrade (3.9.9.4.386_43129 installed) with no success. When I try to generate new client.ovpn files the 'Export OpenVPN configuration file' window continually shows "Initialinzing the settings of OpenVPN server now, please wait a few minutes to let the server to setup completed before VPN clients establish the connection." with a spinning wheel.
When stop/starting the server the system log shows:
Aug 20 11:14:20 rc_service: httpd 809:notify_rc stop_openvpnd;restart_samba
Aug 20 11:14:22 Samba Server: smb daemon is stoped
Aug 20 11:14:22 kernel: gro disabled
Aug 20 11:14:45 rc_service: httpd 809:notify_rc restart_openvpnd;restart_chpass;restart_samba
Aug 20 11:14:48 vpnserver1[25346]: Multiple --up scripts defined. The previously configured script is overridden.
Aug 20 11:14:48 vpnserver1[25346]: OpenVPN 2.4.7 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 8 2021
Aug 20 11:14:48 vpnserver1[25346]: library versions: OpenSSL 1.1.1k 25 Mar 2021, LZO 2.03
Aug 20 11:14:48 vpnserver1[25347]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Aug 20 11:14:48 vpnserver1[25347]: PLUGIN_INIT: POST /usr/lib/openvpn-plugin-auth-pam.so '[/usr/lib/openvpn-plugin-auth-pam.so] [openvpn]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Aug 20 11:14:48 vpnserver1[25347]: Diffie-Hellman initialized with 2048 bit key
Aug 20 11:14:48 vpnserver1[25347]: TUN/TAP device tun21 opened
Aug 20 11:14:48 vpnserver1[25347]: TUN/TAP TX queue length set to 100
Aug 20 11:14:48 vpnserver1[25347]: /sbin/ifconfig tun21 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Aug 20 11:14:48 vpnserver1[25347]: /bin/sh /jffs/etc/profile tun21 1500 1622 10.8.0.1 10.8.0.2 init
Aug 20 11:14:48 vpnserver1[25347]: WARNING: Failed running command (--up/--down): external program exited with error status: 2
Aug 20 11:14:48 vpnserver1[25347]: Exiting due to fatal error
Aug 20 11:14:48 Samba Server: smb daemon is stoped
Aug 20 11:14:48 kernel: gro disabled
Any ideas how to resolve this?
When stop/starting the server the system log shows:
Aug 20 11:14:20 rc_service: httpd 809:notify_rc stop_openvpnd;restart_samba
Aug 20 11:14:22 Samba Server: smb daemon is stoped
Aug 20 11:14:22 kernel: gro disabled
Aug 20 11:14:45 rc_service: httpd 809:notify_rc restart_openvpnd;restart_chpass;restart_samba
Aug 20 11:14:48 vpnserver1[25346]: Multiple --up scripts defined. The previously configured script is overridden.
Aug 20 11:14:48 vpnserver1[25346]: OpenVPN 2.4.7 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 8 2021
Aug 20 11:14:48 vpnserver1[25346]: library versions: OpenSSL 1.1.1k 25 Mar 2021, LZO 2.03
Aug 20 11:14:48 vpnserver1[25347]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Aug 20 11:14:48 vpnserver1[25347]: PLUGIN_INIT: POST /usr/lib/openvpn-plugin-auth-pam.so '[/usr/lib/openvpn-plugin-auth-pam.so] [openvpn]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Aug 20 11:14:48 vpnserver1[25347]: Diffie-Hellman initialized with 2048 bit key
Aug 20 11:14:48 vpnserver1[25347]: TUN/TAP device tun21 opened
Aug 20 11:14:48 vpnserver1[25347]: TUN/TAP TX queue length set to 100
Aug 20 11:14:48 vpnserver1[25347]: /sbin/ifconfig tun21 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Aug 20 11:14:48 vpnserver1[25347]: /bin/sh /jffs/etc/profile tun21 1500 1622 10.8.0.1 10.8.0.2 init
Aug 20 11:14:48 vpnserver1[25347]: WARNING: Failed running command (--up/--down): external program exited with error status: 2
Aug 20 11:14:48 vpnserver1[25347]: Exiting due to fatal error
Aug 20 11:14:48 Samba Server: smb daemon is stoped
Aug 20 11:14:48 kernel: gro disabled
Any ideas how to resolve this?