EFW Support

Support => VPN Support => Topic started by: it-vts on Tuesday 18 April 2023, 11:16:05 pm



Title: openvpnclient restart
Post by: it-vts on Tuesday 18 April 2023, 11:16:05 pm
Hey everyone! Is it possible somehow to restart the openvpnclient via the command line or cron scheduler, which would be equivalent to a GUI on and off connection?

I found a python script:

https: //help.endian.com /hc/it/articles/218145348-Example-of-Custom-Script

but after its execution, absolutely nothing happens?!

Also I tried to stop/restart openvpnclient from here: /etc/init.d/openvpnclient stop <clientname>

but got an error:

Stopping openvpn client '': [FAILED]

My system: endian firewall community 3.3.9 Python 2.7

?