Posted: Fri Feb 19, 2016 18:33 Post subject: Switch + Local DNS Ad Blocking?
My brother-in-law had a Netgear R6300 (non-v2) for many years. Yesterday the WAN port "died." He went to Best Buy and got a new router (Netgear R6400 aka AC1750). I asked him if I could play around with the other router. After putting DD-WRT on it, the WAN port works again. I want to be able to use this script to be able to do router based ad blocking:
My brother-in-law is unwilling to install DD-WRT on a brand new router, so I am trying to find a way to use the router with DD-WRT to both rely on the main router for DHCP like a switch, but also be able to use DNS for ad blocking. Is this possible?
Posted: Fri Feb 19, 2016 20:01 Post subject: Re: Switch + Local DNS Ad Blocking?
YoItsTrev wrote:
My brother-in-law had a Netgear R6300 (non-v2) for many years. Yesterday the WAN port "died." He went to Best Buy and got a new router (Netgear R6400 aka AC1750). I asked him if I could play around with the other router. After putting DD-WRT on it, the WAN port works again. I want to be able to use this script to be able to do router based ad blocking:
My brother-in-law is unwilling to install DD-WRT on a brand new router, so I am trying to find a way to use the router with DD-WRT to both rely on the main router for DHCP like a switch, but also be able to use DNS for ad blocking. Is this possible?
Install Ad Block Plus and be done with it rather than hijacking DNS or messing with proxies... way cleaner _________________ Want to get ahold of me? Contact me via one of the links here: http://jse.io/ or via discord at https://discord.gg/NmYX6enh
---
Current Router Setup:
OEM Satellite internet -- I'll likely get back to DD-WRT again when I get better internet
Posted: Fri Feb 19, 2016 20:05 Post subject: Re: Switch + Local DNS Ad Blocking?
jsebean wrote:
YoItsTrev wrote:
My brother-in-law had a Netgear R6300 (non-v2) for many years. Yesterday the WAN port "died." He went to Best Buy and got a new router (Netgear R6400 aka AC1750). I asked him if I could play around with the other router. After putting DD-WRT on it, the WAN port works again. I want to be able to use this script to be able to do router based ad blocking:
My brother-in-law is unwilling to install DD-WRT on a brand new router, so I am trying to find a way to use the router with DD-WRT to both rely on the main router for DHCP like a switch, but also be able to use DNS for ad blocking. Is this possible?
Install Ad Block Plus and be done with it rather than hijacking DNS or messing with proxies... way cleaner
I have Ad Block Plus.... that isn't the point. Ad block plus does NOTHING for things like killing ads on Roku's Youtube app. That is what this about.
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Fri Feb 19, 2016 21:07 Post subject:
dd-wrt AD blocking doesn't stop yoptube adverts at all
but it does the job for the rest ... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Sun Feb 21, 2016 6:23 Post subject:
first or the second ? i tried them both yes few of the adverts but no such a success as you reported with youtube, i had to develop my own at the end !! _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
first or the second ? i tried them both yes few of the adverts but no such a success as you reported with youtube, i had to develop my own at the end !!
first or the second ? i tried them both yes few of the adverts but no such a success as you reported with youtube, i had to develop my own at the end !!
when you mean developed what you done?
YoItsTrev wrote:
The second one. The really long one.
are the results different between the first and the second method?
can you be more detailed for me because i do not have it?
I just have to enable local dns and put this in startup or I have to use and something from the link in the first post?
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Sat Dec 24, 2016 12:12 Post subject:
ok with first script there are no additional dnsmasq options
and if you need to add anything to additional dnsmasq options it breaks down saved adblocking script and its not working, obviously with second script you can use it with conjunction with additional dnsmasq options and it works well
also script 1 has all the hosts added to /tmp/dlhosts
while the other one script 2 are going to /tmp/hosts and they are from different site in different format i guess
you can use whatever you decide and works well with your set up.... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913