Posts

Showing posts from June, 2014

How To White List IP In Configserver Firewall In WHM

Image
We can white list an IP address in Configserver from WHM using the steps mentioned below: [1] Login to WHM [2] Now, click on “ConfigServer Security&Firewall” option under the “Plugins” . [3] Now, enter the IP which you wish to white list in front of text box of “Remove Deny” option and click on “Remove Deny” option. From WHM > ConfigServer Security&Firewall > look for “Edit lfd ignore file” select csf.ignore – IP Blocking on dropdown list and click Edit button Info for csf.ignore file is all IP addresses listed will be ignored by all lfd checks. Since it will be ignored so it won’t be blocked (automatically white listed)

File and folder Permissions

Permissions are set using a command called CHMOD. CHMOD stands for CHange MODe. You are giving the host computer new instructions about this file or directory. CHMOD comes as a set of 3 numbers. Each of these 3 numbers is a sum total of 3 other numbers. So you have to add 3 numbers to get the first CHMOD number, add 3 numbers to get the second CHMOD number and add 3 numbers to get the third CHMOD number. Understanding the numbers... Each digit is a number value from 0 to 7. The value specifies what capabilities are available (or not). These numbers correspond to 3 command types. Read, write and execute. Read (r) has a value of 4. It allows listing files in the directory. Write (w) has a value of 2. It allows the addition of new files to the directory. Execute (x) has a value of 1. It allows access to the files in the directory. Here are the possible combinations available using these command types : Digit rwx Result 0 --- no access

How create an email account in Outlook Express

1>    Start Outlook Express. Click on Tools in the menu bar and then go to Accounts. 2>    this brings up the Internet Accounts pop-up window. Click on the Mail tab, to bring it to the front if it is not already so. If you are starting Outlook Express for the first time, there would not be any email accounts listed on this window. 3> To add a new mail account, click on the Add button and then on Mail as shown in the image below. 4> This brings up the Internet Connection Wizard pop-up window. Enter your name in the Display Name field and click on the Next button. 5> The wizard now asks for your email address. Enter the full email address and click on the Next button. 6>  In the next window, you need to feed in three important bits of information –       Incoming email server is POP 3.       Incoming email server : yourdomain.com       Outgoing email server: yourdomain.com 7> The last information that you need to enter to complete the setup of the

How to set iptables rules in centos

The rules we used for firewall 2 were: Stop all incoming traffic using the following command: iptables -P INPUT DROP Allow SSH session to firewall 2 by using the following command: iptables -A INPUT -p tcp --dport 22 -s 0/0 -j ACCEPT Allow ICMP traffic to firewall 2 by using the following command: iptables -A INPUT -p icmp -j ACCEPT Allow all related and established traffic for firewall 2 by using the following command: iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT Stop all forwarding by using the following command: iptables -P FORWARD DROP Allow forwarding of TCP traffic on IP interface 172.110.60.0 (client) port 80 (HTTP) and port 443 (HTTPS) to go to 192.168.40.95 (webApp.secure) by using the following commands: iptables -A FORWARD -p tcp --dport 80 -s 172.110.60.0 /24 -d 192.168.40.95 -j ACCEPT iptables -A FORWARD -p tcp --dport 443 -s 172.110.60.0 /24 -d 192.168.40.95 -j ACCEPT Allow forwarding of ICMP traffic by using t

Proxmox qm set ID –lock backup failed: exit code 25

Proxmox qm set ID –lock backup failed: exit code 25 #vm locked after failed backup, can't unlock qm set $SYSTEM_ID$ --lock backup failed: exit code 25 Seems the VM is looked bay another "vzdump" already running? If not, simply unlock it: qm unlock $SYSTEM_ID$