Andrew Suffield wrote:
> On Wed, Jan 02, 2008 at 11:04:46AM -0800, Tom Eastep wrote:
>> Nathan Gibbs wrote:
>>
>>> So in short, is there a way to allow connections to a particular port
>>> from addresses in the blacklist file, while blocking the connections for
>>> all other ports?
>> There is no convenient way to do that.
> 
> Perl foreach (`cat /etc/shorewall/not-so-blacklist`) {shorewall "REJECT 
> all:$_ all tcp 0:79,81:65535"}
> 
> Or something along those lines.

Which will allow TCP port 80 *and all other protocols*

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to