-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luci: custom firewall rules don't show up with fw4 #7428
Comments
Why not start with latest stable, 23.05.5, to make sure it's not fixed? |
the luci-app-firewall.json still has the dependency there |
One of the many idiosyncrasies in the system: it's a hold-over from fw3 days. Not everyone runs fw4; some still use iptables, and the custom rules window is meant for fw3 and iptables commands. Those are written to |
You can add inserts to rules in
Or in /usr/share in other places. some deeply creative rules like maps vmaps are not yet parsed. |
I'm not an expert here. It looks like the The first that I found is some script in Python |
|
oh, didn't know about it |
That's basically what the firewall status page uses so I don’t see why not. Although here the idea was actual file content. What did you have in mind? |
Is it just an matter of removing the depend? |
Is there an existing issue for this?
screenshots or captures
No response
Actual behaviour
In the network>firewall tab of the GUI, the custom rules tab does not show up
I was able to fix this by removing the dependency of /usr/share/fw3/helpers.conf from the
/usr/share/luci/menu.d/luci-app-firewall.json file
Expected behaviour
The custom tab in the firewall will show up and allow the user to put nftables commands for rules
Steps to reproduce
go to: Network -> Firewall and look at the tabs on a device using firewall4
Additional Information
What browsers do you see the problem on?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: