mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Remove revoked client from ifconfig-pool-persist
This commit is contained in:
		| @@ -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." | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 angristan
					angristan