Search our database

Archive | Firewall RSS feed for this section
Viewing 1 to 10 of 10 items

Disable Mod Security cPanel for a domain

1 – Create directory at :- [root ~]# mkdir -p /usr/local/apache/conf/userdata/std/2_4/username*/*2 – Then create a file in it :- [root ~]# touch /usr/local/apache/conf/userdata/std/2_4/username*/*/mod_security.conf3 – Edit the file and add below line :- [root ~]# vi /usr/local/apache/conf/userdata/std/2_4/username*/*/mod_security.conf ===cut=== SecRuleEngine Off ===cut=== 4 – Then run this command to allow httpd.conf to include the file. [root~]# /scripts/ensure_vhost_includes […]

Block IP address at Directadmin using

This tutorial will show you how to block IP address from DirectAdmin control panel. This guide is only for Centos 6 Please be informed that DirectAdmin do not support this implementation, you will need to at your own risk. It is better to backup anything first. 1 – Replace IPTables script as follow [root ~]# […]

Why I keep getting a notifications for brute force attacks from Directadmin

What is brute force attack?Brute force attack is a method to discover a password by systematically trying every possible combination of letters, symbols and numbers until it found the correct combination that works.Brute force is not something that can be stop completely, but with some counter measures taken such as enabling captcha, brute force monitoring, […]

Change Firewall Rules in CentOS 7

A firewall blocks many things, including some web applications that we want (such as Apache), but turning off the firewall also introduces vulnerabilities to our system.In CentOS 7, iptables are replaced by firewalld service. To maintain security of our system, there are steps to configure it so that only certain ports are allowed to pass through while […]

Setup VPN Client on CentOS using SoftEther

Note: Below we will be connecting to VPN Server using client running on Linux systems. If you are running your client using Windows Operating System, refer to this guide instead. By using sites such as on your client pc, you can check that the VPN connection is successful if the IP shown belongs to the VPN Server.We will be […]

Allow Cloudflare IPs in Firewall

This guide will show you how to only allow Cloudflare IPs to access port 80 using IPTables. Please make sure that all domains is already pointed to Cloudflare, or this guide will make your domains inaccessible. Cloudflare IPs 1 – Create a new file to be your new firewall :- #vi /root/firewall 2 – Paste […]

Protection Against Brute Force Attacks (Fail2Ban)

IP address banning (Fail2Ban) is an automated way to protect your server from brute force attacks. Fail2Ban uses regular expressions to monitor log files for patterns corresponding to authentication failures and other errors that are considered suspicious.If an IP address makes too many login attempts within a time interval defined by the administrator, this IP […]

How Configure MAC client for L2TP / IPSEC VPN

1. Go to System Preference of your Mac and click on the Network option: 2. Click on the ‘+’ sign at bottom left corner: 3. Choose the following from the drop down list: Interface: VPN VPN: L2TP over IPSec 4. Key in your VPN server public IP address, and your VPN user name as ‘Account […]

How to install Fail2ban in Linux Centos

Installation Steps:Step 1 : Install the repo :Centos 6 (32 bit) :# rpm -Uvh 6 (64 bit) :# rpm -Uvh 5 (32 bit) :# rpm -Uvh 5 (64 bit) :# rpm -Uvh 2 : Install the package using YUM:# yum install fail2banBasic setups for fail2ban configurations:The fail2ban application’s configuration file is located […]

How to setup filezilla server on windows server 2008

1)   How to setup filezilla on windows server 2008. Start off by grabbing the server at 2)   Running the installer :- 3)   SGTM 4)   Looks good. Continue reading below or comment with questions here. 5)   Select where you want to install the server 6)   I prefer to turn off the server admin interface : […]