On August 26, 2020 10:14:00 AM GMT-03:00, amuza <amuza(a)riseup.net> wrote:
Gio:
On Wednesday 26 August 2020 12:41:00 CEST amuza
wrote:
> /etc/firewall.lime.d contains three files with rules. Their name
start
> with "20", I don't know why.
> I'm not sure if this is the correct way but I added a fourth file
with
my two
iptables lines and it seems to work.
That is the correct way, the 20 in front is just to give a fast way
for a
human to see which script is executed first and
which after, having 3
with the
same number is not that smart :p
Hey Gio!! Thank you!
However, something went wrong.
When preparing my new compilation I added my rules file in the files
directory:
files/firewall.lime.d/90_my_rules_file.
The files directory relates to the root partion so your file must be in
files/etc/firewall.lime.d/90_my_rules_file
Best!
SAn
The new firmware built ok, I installed it in a router and everything
looked fine, well, almost everything: my rules are not being applied.
In the router I see that /etc/firewall.lime.d/ does not include my
file,
I can only see the 3 original files.
Maybe it is because, when compiling, the files directory only works for
things inside /files/etc/ ??
How could I build the firmware including my two iptables lines?