On 06/21/2018 02:34 AM, Răzvan Sandu wrote:
> Hello Tom, hello all,
> 
> 
> Please help me a little bit about the correct syntax of a shorewall rule
> (in shorewall-rules file).
> 
> I now have:
> 
> IMAPS/ACCEPT:info     net   $FW
> 
> and I want to exclude *two* adddress ranges from the net zone, like in:
> 
> IMAPS/ACCEPT:info     net:!aa.bb.cc.0/24   $FW
> 
> But this doesn't work:
> 
> IMAPS/ACCEPT:info     net:!aa.bb.cc.0/24,!dd.ee.ff.0/24   $FW 
> 
> Could you please instruct me?
> 

IMAPS(ACCEPT):info      net!aa.bb.cc.0/24,dd.ee.ff.0/24         $FW

-Tom
-- 
Tom Eastep        \   Q: What do you get when you cross a mobster with
Shoreline,         \     an international standard?
Washington, USA     \ A: Someone who makes you an offer you can't
http://shorewall.org \   understand
                      \_______________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to