#22171: dns redirect failed
------------------------+---------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Designated Driver (Trunk)
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------+---------------------------------------
Comment (by anonymous):
I'm using dns redirect with ipset, but I'm using the firewall rules for it
and it works fine:
{{{
config redirect
option name 'Divert DNS'
option src 'lan'
option proto 'tcp udp'
option src_dport '53'
option dest_port '53'
option target 'DNAT'
}}}
I also use a private rule in firewall.user for redirecting it through my
OpenVPN tunnel:
{{{
iptables -w -A OUTPUT -t mangle -p tcp --dport 53 -j MARK --set-mark 2
iptables -w -A OUTPUT -t mangle -p udp --dport 53 -j MARK --set-mark 2
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/22171#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets