![]() |
||
|
How to install KISS Firewall KISS My Firewall is a FREE iptables script designed for a typical web server. It takes advantage of the latest firewall technologies including stateful packet inspection and connection tracking. It also contains some preventative measures for port scanning, DoS attacks, and IP spoofing, among other things. KISS My Firewall 2 is very easy to install and does not require any initial configuration. It will work with any stock installation of Ensim WEBppliance Basic & Pro, Plesk, and Webmin. Cpanel installations require some modifications. Available at: http://www.geocities.com/steve93138/ What's New in Version 2? The biggest change is that it does not require any initial configuration. With version 2, you won't automatically lock yourself out of your server unless you set some of the variables incorrectly. It also does extensive error checking and is distributed as a tar file. This solves a lot of the issues that were present with the older version. In addition, version 2 is highly configurable and was tested to work with the latest version of iptables - version 1.2.8. HOW TO: Install KISS My Firewall 1) When logged in as root ( "su -" ), type: 2) cd /usr/bin 3) Download KISS firewall 4) Extract it If you want to block an offenders IP address/subnet, simply edit the BLOCK_LIST variable in the /usr/bin/kiss file. You can separate IP addresses and subnet's with a space. Once you are finished, restart the firewall. 5) Editing the config You must change config from: NOTE see our Printer friendly version to avoid text wrapping! # Uncomment to allow DNS zone transfers To: # Uncomment to allow DNS zone transfers 6) Cpanel Users Config - other users ignore this step TCP_IN="20 21 25 53 80 110 143 443 995 2082:2083 2086:2087 2095:2096 3306" Now find the line that says TCP_OUT and replace it with this. TCP_OUT="21 22 25 37 43 53 80 443 873 2089" 7) Save the changes and restart the firewall Restart KISS by typing: That's it! You now have a nice IPtables firewall running that's easy to configure and use. Firewall Commands To stop the firewall, type: To get status information, type: Restart KISS by typing: Similar Articles : Compile 2.6.7, 2.6.8, 2.6.8.1, 2.6.9, 2.6.10, 2.6.11.6 Kernel w/module-init-tools, Rkhunter Installation, Detect and Clean a hacked server T0rnkit Tutorial, How to install KISS Firewall, How to Disable Telnet, How to install mod_security for Apache, How to install BFD (Brute Force Detection), How to install APF (Advanced Policy Firewall), E-mail Alert on Root SSH Login, Mask Your Web Server for Enhanced Security, Guide to Chkrootkit - checking for intruders, Creating a Welcome message for SSH logins, Disable Direct Root Login, RootCheck - Root Check, Changing APF log for TDP/UDP drop's |
||
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers © Copyright 2003-2008 ABN 97 125 618 662 |
||