madara
(usa Slackware)
Enviado em 03/01/2012 - 09:27h
Tenho um firewall com as seguintes regras
#Politicas padrao
$iptables -P INPUT DROP
$iptables -P FORWARD ACCEPT
$iptables -P OUTPUT ACCEPT
##############################################################################################
#### Cadeia INPUT ####
# Conexao por estado
$iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Loopback
# $iptables -A INPUT -i $Dev_Lo -j ACCEPT
# Liberando Portas Locais 80 e 8080
$iptables -A INPUT -p tcp -s 127.0.0.1 --sport 80 -j ACCEPT
$iptables -A INPUT -p udp -s 127.0.0.1 --sport 80 -j ACCEPT
$iptables -A INPUT -p tcp -s 127.0.0.1 --sport 8080 -j ACCEPT
$iptables -A INPUT -p udp -s 127.0.0.1 --sport 8080 -j ACCEPT
$iptables -A INPUT -p tcp -d 127.0.0.1 --dport 80 -j ACCEPT
$iptables -A INPUT -p udp -d 127.0.0.1 --dport 80 -j ACCEPT
$iptables -A INPUT -p tcp -d 127.0.0.1 --dport 8080 -j ACCEPT
$iptables -A INPUT -p udp -d 127.0.0.1 --dport 8080 -j ACCEPT
eu não estou conseguindo trafego na porta 8080 esse
$iptables -P INPUT DROP
bloqueia tudo que vem de INPUT ou ele deixa passar oque estiver com ACCEPT? abaixo.