Thus spoke Ewald Wasscher:

> After using dos2unix on it it seems to work. Except for this strange output:
>
> Starting Shorewall...
> Loading Modules...
> Initializing...
> Determining Zones...
>   Zones: net local dmz gw
> Determining Hosts in Zones...
> Deleting user chains...
> Configuring Proxy ARP and NAT
> Adding Common Rules
> Setting up ICMP Echo handling...
> Processing /etc/shorewall/tunnels...
> Processing /etc/shorewall/rules...
> Adding rules for DHCP
> Processing /etc/shorewall/policy...
> [: ==: unknown operand
>   Policy DROP for net to net.
> [: ==: unknown operand
>   Policy ACCEPT for local to net.
> [: ==: unknown operand
>   Policy REJECT for local to local.
> [: ==: unknown operand
>   Policy REJECT for dmz to dmz.
> [: ==: unknown operand
>   Policy REJECT for gw to gw.
> Masqueraded Subnets and Hosts:
> Activating Rules...
> Shorewall Started

I think that I've spotted the problem. In function default_policy(),
replace

        if [ "$chain" == "$chain1" ]; then

with

        if [ "$chain" = "$chain1" ]; then

I've been coding in C for too long I guess :=)

-Tom
-- 
Tom Eastep             \ Alt Email: [EMAIL PROTECTED]
ICQ #60745924           \ Websites: http://seawall.sourceforge.net
[EMAIL PROTECTED]       \          http://seattlefirewall.dyndns.org
Shoreline, Washington USA \         http://shorewall.sourceforge.net
                           \_________________________________________


_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to