how to redirect DNS to a new server on Openwrt?

Discussion in 'X-WRT - OpenWRT Firmware' started by blackantt, Jul 3, 2016.

  1. blackantt

    blackantt Serious Server Member

    Hi,

    I use the firewall rules to redirect DNS on tomato, It's OK. But when I input these rules into Network/firewall/custom rules on Openwrt (new one), it's useless. Does anyone convert these rules into Openwrt rules for me, thanks.

    on tomato, the following rules is OK.

    iptables -I PREROUTING -t nat -p udp --dport 53 -j DNAT --to-destination 54.54.54.54
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice