[ubuntu-ar] iptables flush en rc.local

Emilio "Chaval" Castro chaval at gmail.com
Fri Jan 21 01:52:51 UTC 2011


El 20/01/11 11:27, Martin Pippo escribió:
> deberia funcionar, sino siempre podes hacer un scriptcito:
>
> #!/bin/sh
> echo "comienzo de limpieza de reglas"
> iptables -F
> iptables -X
> iptables -t nat -F
> iptables -t nat -X
> iptables -t mangle -F
> iptables -t mangle -X
> iptables -P INPUT ACCEPT
> iptables -P FORWARD ACCEPT
> iptables -P OUTPUT ACCEPT
> echo "fin de limpieza de reglas"
>
> como para tener registro de que ocurrio y tener todo habilitado. no? 
> Saludos.

Mil gracias, eso funcionó perfecto y me hace notar que debo leer 
bastante ¿alguien sabe de algún pdf completo pero que empieze de bien 
básico como para adentrarme mas en el mundo iptables?

salu2
-- 

3m1l
www.3m1l.com.ar
------------ pr?xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://lists.ubuntu.com/archives/ubuntu-ar/attachments/20110120/d55ac298/attachment.html>


More information about the Ubuntu-ar mailing list