Hi,
I'm connecting to a openVPN server of my institution and I am on Ubuntu 20.04 LTS.
If I reboot my system, and then connect the VPN, I'm successfully able to do so.
But incase, the VPN gets terminated, or I terminate it myself using ctrl+c, then I'm facing difficulties re-connecting the service.
If I try to reconnect openVPN, I get the following error message.
Wed Feb 23 12:43:53 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021
Wed Feb 23 12:43:53 2022 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Wed Feb 23 12:43:53 2022 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Wed Feb 23 12:44:40 2022 RESOLVE: Cannot resolve host address: vpn.iiit.ac.in:1194 (Temporary failure in name resolution)
Wed Feb 23 12:45:31 2022 RESOLVE: Cannot resolve host address: vpn.iiit.ac.in:1194 (Temporary failure in name resolution)
Wed Feb 23 12:45:31 2022 Could not determine IPv4/IPv6 protocol
Wed Feb 23 12:45:31 2022 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Wed Feb 23 12:45:31 2022 SIGUSR1[soft,init_instance] received, process restarting
Wed Feb 23 12:45:31 2022 Restart pause, 5 second(s)
Wed Feb 23 12:45:36 2022 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Wed Feb 23 12:46:32 2022 RESOLVE: Cannot resolve host address: vpn.iiit.ac.in:1194 (Temporary failure in name resolution)
Wed Feb 23 12:47:22 2022 RESOLVE: Cannot resolve host address: vpn.iiit.ac.in:1194 (Temporary failure in name resolution)
Wed Feb 23 12:47:22 2022 Could not determine IPv4/IPv6 protocol
Wed Feb 23 12:47:22 2022 SIGUSR1[soft,init_instance] received, process restarting
Wed Feb 23 12:47:22 2022 Restart pause, 5 second(s)
Wed Feb 23 12:47:27 2022 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
- I'm not able to identify the cause for this. I'm sure that hosted VPN is online/in-service, as other systems connected at the same time are working alright.
- This problem will continue to occur unless I reboot my system, and this is my concern: To re-establish the openVPN service, I have to reboot my system everytime.
- I have tried changing the 'script-security' parameter (currently set to 2) to other values, but that doesn't help.
I'm new to this, and apologize if this is trivial.
Kindly help me out I can resolve this issue? (avoid restarting the system to reconnect to the VPN).
Thank you.