Networking Forums

Networking Forums > Computer Networking > Linux Networking > ipchains question

Reply
Thread Tools Display Modes

ipchains question

 
 
PapaBear
Guest
Posts: n/a

 
      05-07-2004, 01:24 PM
LS.

I'm working on an ipchains firewall on a litlle old Redhat 7.0 server.

After flushing all rules, I start out making standard strategies as
follows:

# ### Standard strategy is DENY ###
ipchains -P input DENY # No answer for invalid incoming
ipchains -P output REJECT # Error for invalid outgoing
ipchains -P forward REJECT # Error for invalid forwarding

Now the book I'm using suggests to put all kinds of rules in the file to
deny access from for example class A, B and C networks.

Why is this? (since the standard strategy is to DENY or REJECT)

imho I can just ACCEPT only those packages I would want and discard the
others, since they would be denied or rejected, am I right?

Tnx in advance for your enlightment...

--
-----=====##### PapaBear #####=====-----
Jesus is alive, I spoke with Him this morning!
----------------------------------------------
 
Reply With Quote
 
 
 
 
jack
Guest
Posts: n/a

 
      05-08-2004, 12:31 AM
PapaBear wrote:
> LS.
>
> I'm working on an ipchains firewall on a litlle old Redhat 7.0 server.
>
> After flushing all rules, I start out making standard strategies as
> follows:
>
> # ### Standard strategy is DENY ###
> ipchains -P input DENY # No answer for invalid incoming
> ipchains -P output REJECT # Error for invalid outgoing
> ipchains -P forward REJECT # Error for invalid forwarding
>
> Now the book I'm using suggests to put all kinds of rules in the file to
> deny access from for example class A, B and C networks.
>
> Why is this? (since the standard strategy is to DENY or REJECT)
>
> imho I can just ACCEPT only those packages I would want and discard the
> others, since they would be denied or rejected, am I right?


.... - And, yes, it would make things lots easier if You did not
cross-post...


Anyways cheers, and read my reply in one other NG of Your choice,

Jack.

--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...
 
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
IPChains David Linux Networking 1 11-26-2006 06:28 PM
Q: ipchains Karsten Linux Networking 1 12-01-2004 12:16 PM
Generating ipchains command from ipchains -L output. Vitto Linux Networking 4 03-06-2004 06:09 PM
static NAT ipchains: yes or no? RR Linux Networking 0 02-16-2004 01:26 AM
ipchains and nat The Jacobsons Linux Networking 1 09-20-2003 11:05 AM



1 2 3 4 5 6 7 8 9 10 11