P H wrote:
> Hi,
> 
> Shorewall ver 4.2.9
> Shorewall.conf perl
> 
> If I have the line below I get the following error 'ERROR:
> Invalid/Unknown tcp port/service (!443) : /etc/shorewall/rules (line 130)'.
> 
> REDIRECT    dmz            3128        tcp    !443
> 
> This works fine if I am using shorewall.conf = shell.
> 
> Is there another way to get around this using perl.
> I need to redirect all tcp ports on the dmz to 3128, except 443.

This defect is corrected in Shorewall 4.4. In the meantime, insert a
NONAT rule before the REDIRECT rule:

NONAT        dmz             -          tcp     443

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to