firewall.user 3 times?

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
User avatar
CBx86
Posts: 157
Joined: Sun Jan 05, 2014 5:43 pm
Location: Brazil

firewall.user 3 times?

Post by CBx86 »

Hey Guys! :D

I have some custom /etc/firewall.user.
Listing the rules, my custom rules appear 3 times.

In /etc/config/firewall have only one entry:

option path '/etc/firewall.user'

Some clue?

Many thanks! :D

User avatar
CBx86
Posts: 157
Joined: Sun Jan 05, 2014 5:43 pm
Location: Brazil

Re: firewall.user 3 times?

Post by CBx86 »

Complement:

Just after reboot the router.

If i iptables -F
/usr/lib/gargoyle/restart_firewall.sh

Dont repeat the custom rules from firewall.user.

Thanks. :mrgreen:

User avatar
CBx86
Posts: 157
Joined: Sun Jan 05, 2014 5:43 pm
Location: Brazil

Re: firewall.user 3 times?

Post by CBx86 »

More info about my issue.

Every time my internet drops and return, add all my firewall.user lines again.
(my internet drops a lot every day)

The QOS rules, etc, dont repeat.
Just mine firewall.user. :|

>.<

Some help, please.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: firewall.user 3 times?

Post by Lantis »

Is there a reason you can’t just add them as normal rules rather than to firewall.user?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
CBx86
Posts: 157
Joined: Sun Jan 05, 2014 5:43 pm
Location: Brazil

Re: firewall.user 3 times?

Post by CBx86 »

Hey!

I tried add the rules in rc.local, they get messy and lose the order (in my case it is essential) after connection down/up.

What i m doing now:

Using firewall.user again.
Remove all my rules before if they exist, one by one;
Them add again in right order.

Im using the keys: INPUT, FORWARD, OUTPUT.

If get messy again. I will try user the 'user chain' zone_lan_forward, zone_lan_input, etc.

Thanks! :D

Post Reply