ola pessoal !!!!
alguem pode me dizer como faco para bloquera o nmap
....
pois tudo que eu je fiz nao tive sucesso
.....
a unica coisa que eu libero e isso e tambem porta
21 80 mas o nmap pega tudo
alguem pode me ajudar
#############################
# Definicao de Policiamento # ############################# echo "Setando o Policiamento.." iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT iptables -P POSTROUTING ACCEPT -t nat iptables -P PREROUTING ACCEPT -t nat iptables -P OUTPUT ACCEPT -t nat #teste para bloquerar nmap
#iptables -A INPUT -p tcp -s !192.168.0.0/24 -j DROP # NMAP Protection #
# permite o firewll navegar # ############################### echo "politicas para permitir meu firewall navegar.... " iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT ###################################################### #liberando o acesso ao squid para minha rede interna # ####################################################### iptables -A INPUT -p tcp -i eth2 -s 192.168.0.0/24 --dport 3128 -j ACCEPT #teste iptables -A INPUT -p tcp --dport 22 -j ACCEPT Wellington Morais Tel : 9926-1221 ICQ : 210343519 MSN : [EMAIL PROTECTED] Empresa :www.adest.com.br Seja Livre !! Use Linux !! |