Wireguard, Policy Based Routing using Domain Name

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Varo9921
DD-WRT Novice


Joined: 30 Sep 2021
Posts: 12

PostPosted: Tue May 31, 2022 11:50    Post subject: Wireguard, Policy Based Routing using Domain Name Reply with quote
Policy Based Routing has been a great feature on DD-WRT. The only problem is that services like Netflix, Prime Video, etc. have multiple IPs and it seems that just adding netflix.com does not work after a while.

Is there any workaround to make this work? I only wish to route some websites like Netflix via WAN and everything else must go through the WireGuard tunnel.

If it helps, I am using my own DNS server and can set netflix to use a single IP but I am not sure if that will be ideal.

Thank you.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Tue May 31, 2022 12:22    Post subject: Reply with quote
What build and router are you using?

Guides: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327397

The client setup guide has a paragraph about destination based routing, recent builds support domain names.
However when you want to use domains with lots of different and changing IP addresses like netflix.com, you need more sophisticated things like IPSET with DNSMasq.
(I am looking into using IPSET and ASN with destination based routing but that is a long term project)

I am traveling but I think that it is described in the Client setup guide.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Varo9921
DD-WRT Novice


Joined: 30 Sep 2021
Posts: 12

PostPosted: Tue May 31, 2022 16:12    Post subject: Reply with quote
Thank you for replying even when you are travelling. Smile

Firmware: DD-WRT v3.0-r48567 std (03/23/22)
Router: R6400V2

I checked out the two links mentioned in the Client Set up guide regarding IPSET. It is way beyond my league for sure. Couldn't understand any of it. xD

For now, I'll patiently wait for DD-WRT to get the feature.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum