Hi (again) Robert, I hit "send" by mistake before I was finished...
Martin Leben 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. > > > - A connection request that matches an ACCEPT is accepted. Period. > - A connection request that matches a CONTINUE is accepted _unless_ another > policy located below in the policy file says otherwise. CONTINUE is useful when having nested zones. See <http://www.shorewall.net/manpages/shorewall-nesting.html>. >> My understanding of Drop is if there is no rule for the connection, then >> Drop it. > > - A connection request that matches a DROP is dropped. > > >> 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, accept is correct. >> BTW, my rules are: >> >> ACCEPT all all icmp >> ACCEPT all fw tcp 7722 >> ACCEPT all fw tcp 10000 >> ACCEPT Int fw tcp 5902:5903 Looks good to me. I am no shorewall expert, so I fully expect to be corrected if I am mistaken about anything above. :-) Best regards, /Martin Leben ------------------------------------------------------------------------- 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
