nada.

2010/5/24 Anderson Silva <[email protected]>:
>
>
> 2010/5/24 hamacker <[email protected]>
>>
>> echo "Liberando portas do servidor ($WAN):"
>> while read LINHA ; do
>>  PORTA=`semremarks "$LINHA"`
>>  if [ "$PORTA" != "" ] ; then
>>    echo -e "\tPorta : $PORTA"
>>    $IPTABLES -A INPUT -p tcp --dport $PORTA -j ACCEPT
>>    $IPTABLES -A FORWARD -p tcp --dport $PORTA -j ACCEPT
>>    $IPTABLES -A OUTPUT -p tcp --sport $PORTA -j ACCEPT
>>  fi
>> done <"$LISTA_PORTAS_LIBERADAS"
>> $IPTABLES -I INPUT -m state --state ESTABLISHED -j ACCEPT
>> $IPTABLES -I INPUT -m state --state RELATED -j ACCEPT
>> $IPTABLES -I OUTPUT -p icmp -o $WAN -j ACCEPT
>> $IPTABLES -I INPUT -p icmp -j ACCEPT
>>
>
> Olá Hamacker
> Experimente colocar as seguintes regras logo após estas acima:
> $IPTABLES -I FORWARD -i $LAN -j ACCEPT
> $IPTABLES -I FORWARD -i $LAN  -o $WAN -m state --state ESTABLISHED,RELATED
> -j ACCEPT


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Responder a