/etc/hosts.deny and hosts.allow are for tcpwrapper, if you don't use it, that' s fine, I prefer iptables man iptables gives you most of what you need, you may search a sample for the security rules, basically you want to enable everything initiated from your pc , and selectively enable others, and block some famous attach like DDOS. Another thing is important, that is the sequency of your rules. there are also some iptables wrapper like firewallstarter something like that, they provide easier ma