Pablo Silva O wrote:
> Dear People:
>
> I want to configurate a linux firewall, my pc has two network cards,
> I use whitebox distribution (RHEL ES 3.0 clon), and iptables.
>
> My principal problem is when I configurate the iptables, How I to do
> for block all incomming and outcoming traffic?
>
> The idea is grant on demand access to internet and my LAN as need, I
> don't like by default accept all the traffic but to filter it.
>
> Thank's in advance for any hint.
>
> Greetings,
> Pablo
Change the policy to DROP:
iptables --policy INPUT DROP
iptables --policy OUTPUT DROP
iptables --policy FORWARD DROP
--
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
(E-Mail Removed)
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA
The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"