I searched for packages related to tproxy and installed kmod-ipt-tproxy.
root@OpenWrt:~# opkg find '*tproxy*'
iptables-mod-tproxy - 1.8.7-2 - Transparent proxy iptables extensions.
Matches:
- socket
Targets:
- TPROXY
kmod-ipt-tproxy - 5.10.92-1 - Kernel modules for Transparent Proxying
kmod-ipt-tproxy - 5.10.92-1 - Kernel modules for Transparent Proxying
But when using tproxy, nft tells me Error: Could not process rule: No such file or directory
.
root@OpenWrt:~# nft add rule ip test prerouting iifname { br-lan } meta l4proto { tcp } mark set 1 tproxy to 127.0.0.1:8124 accept
Error: Could not process rule: No such file or directory
add rule ip test prerouting iifname { br-lan } meta l4proto { tcp } mark set 1 tproxy to 127.0.0.1:8124 accept
^^^^^^^^^^^^^^^^^^^^^^^^
Do I need to install the iptables-mod-tproxy package, or is it something else?