quinniedid
New Around Here
Help!!! Redirect all DNS queries to go through the router
I have never done very much programming on a router and would like some help please. I would like some help to setup a user script to force dns that I have set on the WAN interface on my merlin Asus rt-ac66r router. I have enabled JFFS partition but have no clue how to proceed to plant this into the router.
I have never done very much programming on a router and would like some help please. I would like some help to setup a user script to force dns that I have set on the WAN interface on my merlin Asus rt-ac66r router. I have enabled JFFS partition but have no clue how to proceed to plant this into the router.
iptables -I PREROUTING -t nat -p udp -s `nvram get lan_ipaddr`/`nvram get lan_netmask` ! -d `nvram get lan_ipaddr`/`nvram get lan_netmask` --dport 53 -j DNAT --to-destination `nvram get lan_ipaddr`
Last edited: