Thanks Tom.  Now I got it!

Tom Eastep wrote:
> Robert Moskowitz wrote:
>> What exactly is the difference between these two?
>>
>> I have read:  http://www.shorewall.net/manpages/shorewall-policy.html
>>
>> And the information there does not clearify the difference for me.
>
> As stated in that man page, CONTINUE is only appropriate when you have 
> nested zones. http://www.shorewall.net/manpages/shorewall-nesting.html.
>>
>> My understanding of Drop is if there is no rule for the connection, 
>> then Drop it.
>>
>> This box is just a gateway.  I do not want it doing anything with 
>> packets from/to External and Internal, but to protect the gateway 
>> itself from all but selected connections.  So I have my policy as:
>>
>> all     fw     DROP    info
>> fw      all    DROP    info
>>
>>
>> To this do I add:
>>
>> Int    Ext    Accept
>> Ext    Int    Accept
>>
>> Or use Continue?
>
> No. When there is a policy such as this:
>
> A    B     CONTINUE
>
> then if no A->B rule matches a connection from A to B but if A is a 
> sub-zone of C then the connection will be matched against the C->B 
> rules. If no rule there matches, the connection will be handled under 
> the effective C->B policy.
>
> -Tom
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ------------------------------------------------------------------------
>
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
>   

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to