mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-12-22 14:58:54 +00:00
Remove revoked client from ifconfig-pool-persist
This commit is contained in:
parent
0f117352c7
commit
e4a9851b4f
@ -1040,6 +1040,7 @@ function revokeClient () {
|
||||
chmod 644 /etc/openvpn/crl.pem
|
||||
find /home/ -maxdepth 2 -name "$CLIENT.ovpn" -delete
|
||||
rm -f "/root/$CLIENT.ovpn"
|
||||
sed -i "s|^$CLIENT,.*||" /etc/openvpn/ipp.txt
|
||||
|
||||
echo ""
|
||||
echo "Certificate for client $CLIENT revoked."
|
||||
|
Loading…
Reference in New Issue
Block a user