#22171: dns redirect failed
-----------------------+---------------------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:  Designated Driver (Trunk)
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+---------------------------------------
 i've set different dns server in network manager than the one router is
 using and was still able to resolve using that server.

 this the redirect rules:

 {{{
 iptables -t nat -I PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
 iptables -t nat -I PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
 }}}

 fw status:

 {{{
 Table: NAT

 Chain PREROUTING (Policy: ACCEPT, Packets: 551, Traffic: 89.27 KB)
 Pkts.   Traffic Target  Prot.   In      Out     Source  Destination
 Options
 0       0.00 B  REDIRECT        tcp     *       *       0.0.0.0/0
 0.0.0.0/0       tcp dpt:53 redir ports 53
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/22171>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to