How to restart openvpn on pfsense via CLI

Restarting OpenVPN on the CLI of a pfSense can be done using the following command:

echo "<?php include('openvpn.inc'); openvpn_resync_all();?>" | php -q

Hope it works for you ๐Ÿ™‚

Please follow and like us:
0