Came here to see if there's a way around my fw4
issue. On my older router I ran AdGuardHome right off the USB stick (tutorial here: [HowTo] Running Adguard Home on OpenWrt), and then simply forwarded all client DNS traffic to it:
iptables -t nat -A PREROUTING -i br-lan -p udp --dport 53 -j DNAT --to 192.168.1.1:5353
iptables -t nat -A PREROUTING -i br-lan -p tcp --dport 53 -j DNAT --to 192.168.1.1:5353
I'm currently missing the custom rules section on my snapshot (OpenWrt SNAPSHOT r18646-3869ccbcc8 / LuCI Master git-22.025.79016-22e2bfb
). This is the dangowrt Release v0.6.2. Is there a way to enable it?
Or is there a way to translate the above code to be nftable compatible perhaps? And where would I put it anyway? Ideally I'd stick to fw4
as that will be the standard going forward I assume. Otherwise, I need to drop back down to fw3
? Or what do you all suggest?