Hi Matthijs,

I proceeded as you wrote and now there is

> config 'include'
>    option 'path' '/etc/firewall.fon'
>
> config 'include'
>    option 'path' '/etc/firewall.user'
>   

in the firewall file.
But unfortunately after after entering this and after rebooting as well
the settings are not effective for the running webserver process which
is enabled by wan access in firewall.user ( -> there you only find the
line: iptables -A input_daemon -p tcp --dport 8080 -j zone_wan_ACCEPT).
When I then enter this command vis SSH the hosted webpages on the
usb-stick are accessible from the web - but only for a few minutes.

Regards, Kyros


-------- Original Message  --------
Subject: Re: [fonosfera] Iptable rules in firewall.user don't last
anymore - after fw2.3.6.0 serverside change?
From: Matthijs Kooijman <[email protected]>
To: [email protected]
Date: Fri Apr 16 2010 12:15:12 GMT+0200 (CEST)
> Hi Kyros,
>
>   
>> config 'include'
>>    option 'path' '/etc/firewall.fon'
>>    option 'path' '/etc/firewall.user'
>>     
> I was just experimenting with this a bit, and found that if you write it like
> this, it only includes firewall.user, not firewall.fon.
>
> If you use the commandline:
>
>   uci add firewall include; uci set 
> firewa...@include[-1].path=/etc/firewall.user; uci commit firewall
>
> (copied from http://wiki.fon.com/wiki/F2_MgtConsole_tweaks#firewall.user)
>
> then you get the following config:
>
> config 'include'
>    option 'path' '/etc/firewall.fon'
>
> config 'include'
>    option 'path' '/etc/firewall.user'
>
> which apparently does work.
>
> Gr.
>
> Matthijs

_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to