mirror of
https://github.com/openwrt/packages.git
synced 2026-12-06 00:05:31 +04:00
simple-captive-portal: order nft chains predictably
Adjust simple-captive-portal firewall chain priority to apply before default chain deterministically Signed-off-by: Andris PE <neandris@gmail.com>
This commit is contained in:
1 parent
dc39393c1b
commit
737c40fbb9
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=simple-captive-portal
|
||||
PKG_VERSION:=2025.06.22
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
||||
PKG_LICENSE:=GPL-2.0-or-later
|
||||
|
||||
@@ -21,7 +21,7 @@ table inet simple-captive-portal {
|
||||
}
|
||||
|
||||
chain prerouting {
|
||||
type nat hook prerouting priority mangle; policy drop;
|
||||
type nat hook prerouting priority mangle - 5; policy drop;
|
||||
iif != ${INTF} accept
|
||||
ether saddr @guest_macs accept
|
||||
tcp dport 80 redirect to ${PORT_REDIRECT}
|
||||
|
||||
Reference in new issue
Block a user