Networking Forums

Networking Forums > Computer Networking > Linux Networking > Routing configuration

Reply
Thread Tools Display Modes

Routing configuration

 
 
Pablo Silva O
Guest
Posts: n/a

 
      11-08-2004, 10:56 PM
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
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      11-09-2004, 06:22 AM
On 2004-11-08, Pablo Silva O <(E-Mail Removed)> wrote:
> My principal problem is when I configurate the iptables, How I to do
> for block all incomming and outcoming traffic?


Read the IPtables-howto and twist the configuration to suit your
needs.

Davide

--
A fool and his money are soon using Windows.
 
Reply With Quote
 
Jose Maria Lopez Hernandez
Guest
Posts: n/a

 
      11-09-2004, 12:20 PM
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"
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing configuration Clark Smith Linux Networking 4 12-01-2010 09:13 AM
Win2003 R2 server just stops routing traffic until I restart Routing service Martijn Tonies Windows Networking 8 11-03-2008 11:05 AM
SMail Routing Configuration Help! Doug Mitton Linux Networking 1 01-22-2007 01:27 PM
Automatic LAN Routing configuration Petsen Windows Networking 0 08-18-2006 08:24 AM
Routing Configuration with Windows Server 2003 Paul B Windows Networking 6 09-08-2005 05:49 AM



1 2 3 4 5 6 7 8 9 10 11