ComputerSteve
Senior Member
How do I get x3mrouting to work with AdGuard home since it bypasses dnsmasq?
I'm not sure how well the x3mrouting script works with the new firmware/routers since it hasn't been updated in quite awhile. Maybe someone else can assist with this request though.How do I get x3mrouting to work with AdGuard home since it bypasses dnsmasq?
X3mrouting are using ipsets which it puts in dnsmasq.conf.add to have dnsmasq populate the set.How do I get x3mrouting to work with AdGuard home since it bypasses dnsmasq?
nano /opt/etc/AdGuardHome/AdGuardHome.yaml
ipset:
- netflix.com,netflix.net,nflxext.com,nflximg.com,nflximg.net,nflxso.net,nflxvideo.net,amazonaws.com/NETFLIX-DNS,NETFLIX-DNS6
Sure, it will set everything up for you. It will create the ipsets, setup to restore the ipsets at boot, firewall rules for marking packets and routing rules. So lots of things are made, it does not matter for you if it adds the set to dnsmasq since it won't be populating it.Ok can I use x3mrouting to create the ipset x3mRouting ipset_name=NETFLIX I get the error that I don't have the file in opt/tmp --- I can create it with this sh /jffs/scripts/x3mRouting/x3mRouting.sh 1 0 Netflix dnsmasq=netflix.com,netflix.net,nflxext.com,nflximg.com,nflximg.net,nflxso.net,nflxvideo.net,amazonaws.com but then aren't I not supposed to be doing it that way because its not using dnsmasq ??
You can create it yourself if you wish, just follow the link I posted. But the ipset itself will not be enough, you also need firewall rules and routing rules. Using x3mrouting is very convenient and not bad in any way.I guess to clarify what is the best way to actually create the ipset ?
One line per ipset, I'm guessing you can add as many lines as you wish.one other thing how would I add multiples to the adguard yaml not just netflix?:::
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!