Wireguard peer lost dns resolution after adblock installaion

really?

This creates a wan_6 interface automatically, so there might be a conflict with the wan6 interface. Change from auto to 1, or delete wan6.

Delete that.

change to /32
Do the same to the other peers too.

Delete this.
Create a rule:

uci -q delete firewall.@redirect[0]
uci -q delete firewall.wg
uci set firewall.wg="rule"
uci set firewall.wg.name="Allow-WireGuard"
uci set firewall.wg.src="wan"
uci set firewall.wg.dest_port=51820
uci set firewall.wg.proto="udp"
uci set firewall.wg.target="ACCEPT"
uci commit firewall
/etc/init.d/firewall restart

Post also the following:
ls -l /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* ; head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*

4 Likes