OpenVPN - How to remove the OpenVPN configuration from an appliance

SUMMARY

OpenVPN - How to remove the OpenVPN configuration from an appliance

ISSUE

Purpose

How to remove the OpenVPN configuration from an appliance

Applies To

All Appliances with OpenVPN configured

RESOLUTION

For CENTOS 7: We are currently seeing cases where this does not work for CentOS7. Please contact L2 to see if there is a resolution. When one exists, this will be updated to reflect it. For CentOS6.x system you can use the instructions below

** Warning - This is a total removal of OpenVPN, not to be used for a partial reset or troubleshooting tunnel issues following successful replication setup **

** Should only be performed by users comfortable with Linux and command line **


Stop OpenVPN service:

service openvpn stop

Disable OpenVPN service from boot time startup:

chkconfig openvpn off

Remove OpenVPN configuration files:

cd /etc/openvpn/

ls -rlasth /etc/openvpn/

rm -rf /etc/openvpn/*

ls -rlasth /etc/openvpn/

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us