VPN Traffic Management with Disney+ and Netflix

Who is this for?

This guide is for those seeking to unlock geo-blocked content by Disney+ and Netflix. Or these services are not available in your country. The concept in this guide applies to other streaming services, but we will focus on the aforementioned.

Why not just route all traffic to the VPN?

This guide will use streaming devices (e.g., Apple TV) as the primary target group. Some apps may break due to VPN usage. So, we want to route specific traffic.

Prerequisite:

  • UniFi OS 3.0+.
  • VPN Provider (I use ProtonVPN).
  • DNS setting set to auto for the network you want to manage traffic.
  • This guide will not work with a custom DNS setting. If you prefer to keep a custom DNS, set it at the WAN level.

Configure your VPN client

u/mactelecomnetworks has an easy-to-follow video here - https://youtu.be/tDG3HHFebxE?t=133.

You can create as many VPN clients as you want, but you may be limited to the concurrent VPN connections you pay for. I picked Canada and UK as starters. Pro tip: The Disney+ app includes Hulu content for Canadian users.

  1. Go to Settings
  2. Teleport & VPN
  3. VPN Client > Create VPN Client
  4. Give it a Name, Input your VPNs Username and Password, and Upload your VPN Configuration File.
  • Different VPNs will have different configurations. I did not have to modify my ProtonVPN config file. From mactelecomnetworks’ video, you’ll see that he had to adjust the ExpressVPN file.

Configure Traffic Management

I created two routes, one for Disney+ and one for Netflix.

  1. Go to Traffic Management
  2. Routes > Create New Route
  3. What to Route > Specific Traffic
  4. Category - Domain Name
  5. Domain Name - Batch Add (see below for each service)
  6. Target - Your endpoints. In my case, Apple TVs in the house.
  7. Interface - The VPN connection you created earlier.
  8. Name - Give it a name (e.g., Route Disney+ to VPN)
  9. Reboot your streaming devices if necessary. Give it a whirl!

Resources:

I used these lists to get the domain names. However, they were missing some domain names. I used mitmproxy to find the missing domains.

Domains to route

 

Hello! Thanks for posting on r/Ubiquiti!

This subreddit is here to provide unofficial technical support to people who use or want to dive into the world of Ubiquiti products. If you haven’t already been descriptive in your post, please take the time to edit it and add as many useful details as you can.

Please read and understand the rules in the sidebar, as posts and comments that violate them will be removed. Please put all off topic posts in the weekly off topic thread that is stickied to the top of the subreddit.

If you see people spreading misinformation, trying to mislead others, or other inappropriate behavior, please report it!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

Commenting to save this. Great post!!

Good stuff, thanks for sharing :+1:

Very cool guide, thank you

This is an amazing write up but imma be honest, I ain’t doing all this work just to watch something. Especially since if I’m going to have to put some effort in, I think the seas are a better use of my effort.

Great guide! I tried to do something similar but I was missing some of the Netflix domains. Thanks to you I don’t need to go thru hustle to discover them on my own.

Two things, I don’t do it by domain, but by device. All traffic from Apple TV and Roku devices goes over my VPN. I’m not sure a commercial VPN service will work very long, however as Netflix and stream to block them so I have mine and my parents routing through my office. That works particularly well because at night when we’re watching TV there’s not a lot of traffic at the office anyway.

Leaving this as the OP failed to mention it in their guide:

Following the guide breaks T&C of both streaming platforms, and once spotted your accounts will be terminated. Proceed at your own risk.

This looks awesome! Thank you.

Do you know what domains to route for the startup show Apple TV app? It’s not listed by netify :frowning:

Any way to do something similar with a top level domain?

These lists are international? Or are there country specific servers you would need to add?

This is great! Can you tell more about how you went about getting the domain-names required, for the service til work (Netflix/Disney+)? I would love to replicate this sollution to other streaming services, fx. BBC.

It’s a bit beside this threads purpose - but have you tried doing this with multible VPNs? I’m having problems with that…

https://community.ui.com/questions/Two-VPNs-one-works/611212a0-10d3-4b61-8230-8a09611c95ae

I hear you. It’s just easier for the family to use the apps they are familiar with. But if Disney and Netflix push me towards the seas, so be it.

Apple tvOS now supports VPN but I don’t use it some I need to find a way to only route the Netflix App through a VPN on my UDM-Pro, not all traffic. I can route all device traffic but cannot seem to find how to do just one App. Any suggestions?

I did not find a way to do wildcards. I realize that this isn’t a perfect solution, and it may be a cat and mouse game.

Let me know if this helps Apple TV - Domains, IPs and App Information.

Unfortunately, I did not thoroughly perform a test like that.

I made an earlier comment here. Give that a try, and let me know. There’s probably other ways to do packet capture, but I found that method relatively easy.