Blocking url or filtering url

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
Loboron
DD-WRT Novice


Joined: 16 Jul 2017
Posts: 3

PostPosted: Sun Jul 16, 2017 17:46    Post subject: Blocking url or filtering url Reply with quote
I'm new here and this is my first post. I'm a 75 year cancer survivor living in Mexico and I'm trying to setup my new RT-AC56U DD-WRT Express VPN router.

Question: I have 3 Roku3 devices and I add "Private Channels" Roku sometimes hits or takes them out of service if they think there's copyright violation.

Does my new router listed above have the capability of "Blocking" or Filtering there url?

Thank you for any responses.

Ron
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6435
Location: UK, London, just across the river..

PostPosted: Mon Jul 17, 2017 16:06    Post subject: Reply with quote
well, DD-WRT you can block IP or Range of IP's using IPtables commands https://www.dd-wrt.com/wiki/index.php/Iptables_command

or you can block websites or specific DNS via DNSMasq rules
if you use it as a DNS...

_________________
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 55779 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
Loboron
DD-WRT Novice


Joined: 16 Jul 2017
Posts: 3

PostPosted: Mon Jul 17, 2017 16:23    Post subject: Reply with quote
Thank you for the reply, it's a little above my pay-grade for understanding.

We're told, to keep Roku from attacking the devices to add, "api.roku.com" or keyword "Roku" (without the " ) to our routers site blocking or site filter in our Firewall settings.
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6435
Location: UK, London, just across the river..

PostPosted: Mon Jul 17, 2017 19:51    Post subject: Reply with quote
paste those lines in General User Interface administration>commands> paste and hit "save firewall"

iptables -I INPUT -s 52.70.81.120 -j DROP
iptables -I INPUT -s 52.5.78.167 -j DROP
iptables -I FORWARD -s 52.70.81.120 -j DROP
iptables -I FORWARD -s 52.5.78.167 -j DROP

_________________
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 55779 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
Loboron
DD-WRT Novice


Joined: 16 Jul 2017
Posts: 3

PostPosted: Mon Jul 17, 2017 21:44    Post subject: Reply with quote
Thank you so much, a life saver you are.

Regards,

Ron
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum