How to Install Kiss My Firewall?

> Log in as Root.
>Type cd/usr/bin
>Download and extract firewall (tar zxvf kiss-2.0.1.tar.gz)
>If you need to block Spammers IP, then edit BLOCK_LIST variable in the /usr/bin/kiss file > separate IP address and subnet with a space.>Restart Firewall.
>Editing config (pico -w /usr/bin/kiss) >Change config from: NOTE SEE our printer friendly version avoid text wrapping
# Uncomment to allow DNS zone transfers
#
#$IPTABLES -A INPUT -i eth0 -p udp –sport 53 –dport 53 -m state –state NEW -j ACCEPT
#$IPTABLES -A INPUT -i eth0 -p tcp –sport 53 –dport 53 -m state –state NEW -j ACCEPT
#$IPTABLES -A OUTPUT -o eth0 -p udp –sport 53 –dport 53 -m state –state NEW -j ACCEPT
#$IPTABLES -A OUTPUT -o eth0 -p tcp –sport 53 –dport 53 -m state –state NEW -j ACCEPT

>For Cpanel Users -

/usr/bin/kiss file > Move down and then you see the line: TCP_IN, change it as follows -

TCP_IN=”20 21 25 53 80 110 143 443 995 2082:2083 2086:2087 2095:2096 3306″

>Then you will make a note of TCP_OUT,change it as follows -

TCP_OUT=”21 22 25 37 43 53 80 443 873 2089″

>Save the changes -

Ctrl + X then Y

>Restart the firewall by entering
kiss restart

>In order to start type -
Kiss start

>In order to stop type -
Kiss stop

>To check status type -
Kiss status

Tags:

Leave a Reply