luci: luci: custom firewall rules don't show up with fw4

Is there an existing issue for this?

  • I have searched the existing issues

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

NAME="OpenWrt"
VERSION="23.05.2"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 23.05.2"
VERSION_ID="23.05.2"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r23630-842932a63d"
OPENWRT_BOARD="ipq40xx/generic"
OPENWRT_ARCH="arm_cortex-a7_neon-vfpv4"
OPENWRT_TAINTS="no-all busybox"
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 23.05.2 r23630-842932a63d"

What browsers do you see the problem on?

No response

Relevant log output

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

ttl-inc option is not ported to iptables-nft.

iptables-translate -t mangle -A PREROUTING -i br-lan -d 239.255.255.250 -j TTL --ttl-inc 1
iptables-translate v1.8.10 (nf_tables): unknown option "--ttl-inc"
Try `iptables-translate -h' or 'iptables-translate --help' for more information.