Backup and Restore your Centos

Backup and Restore your Centos 7 Some time you want to take backup of your server including application and settings .below are the easy method a small example 1- The first step is to create a location to store the backup. For this article we’re going to store the backup on the same hard drive … Read more

Centos 5.X yum update

Update of packages using default repositories (base, update etc.) is no longer applicable.You should switch boxes, run on CentOS 5.x., to so called Vault repositories. 1- Disable base, updates and other enabled repositories (where enabled=1 is set) in the CentOS-Base.repo:  create a new repo file and enter the following lines

vos3000 illegal calls query to block IP address

vos3000 illegal calls query to block IP address All call records are saved in e_cdr_files you can query to get ip addresses of illegal calls source. mysql> select DISTINCT callerip from e_cdr_20180818 where endreason = ‘-9’; +—————-+ | callerip | +—————-+ | 195.154.93.229 | | 50.2.187.130 | | 5.62.63.181 | | 216.244.84.202 | | 37.49.231.161 … Read more

How to configure Mikrotik DHCP Server for Cisco Phone TFTP option

How to configure Mikrotik DHCP Server for Cisco Phone TFTP option

1- Change your TFTP server IP in to hex code

you can use this online tool : http://www.miniwebtool.com/ip-address-to-hex-converter/

2- Now configure Mikrotik RouterOS :

/ip dhcp-server option add code=150 name=ciscotftp value=0xC0A80307

Read more

OpenVPN CRL has expired

OpenVPN CRL has expired VERIFY ERROR: depth=0, error=CRL has expired: CN=servername In order to fix the issue, we just need to recreate the crl.pem file. we need  to backup the current crl.pem file before creating a new one. The location of the  crl.pem file  at /etc/openvpn/ #mv  crl.pem  crl.pem.back Now go to  easy-rsa  folder # cd  easy-rsa now generate … Read more

OPENVPN Logs

OPENVPN Logs To troubleshoot connection issues check below logs grep the client name  in /var/log/messages # grep VPN    /var/log/messages Check the connection time #cat /etc/openvpn/openvpn-status.log Check the connection negotiation activity # tail -f /var/log/messages