Additional analysis is required to determine the domain names being used. x3mRouting has the scripts/tools to help.
First, you need to configure your VPN client to force ALL network traffic or the device you are streaming NOW TV from to use the VPN Client required with NOW TV. Then, run
getdomainnames.sh (see complete instructions at link) script to get a bigger picture of the domains being used for NOW TV. The laptop or computer you are using to SSH into the router will also generate some domain traffic from background processes running. Best to close all browsers too the analysis to minimize noise. Then, you need to go to the app or browser and select menu options and stream to generate traffic. After selecting all of the options, you can press ctrl-c to exit and produce the report.
Then use the
autoscan.sh script to narrow down the domains from the terms you think belong to NOWTV and exclude the background domains. (e.g. autoscan=term1,term2,term3).
As part of the analysis, you can also view the website page source code for .com or .net for clues as to what domains are being used by right clicking on the webpage and selecting the view source code option.
You can also try ASN method. However, I still recommend doing the analysis as many media companies hosting on AWS or using content delivery networks.
Code:
# asn nowtv.com
----------------------------
| ASN lookup for nowtv.com |
----------------------------
- Resolving "nowtv.com"... 1 IP address found:
90.216.151.68 +PTR -
+ASN 5607 (BSKYB-BROADBAND-AS, GB)
+ORG BSKYB-BROADBAND-AS
+NET 90.192.0.0/11 (BSKYB-BROADBAND)
+ABU abuse@sky.uk
+GEO London, England (GB)
Tracing path to 90.216.151.68 (press CTRL-C to cancel)...^C
Interrupted
<snip>
Hi Xentrk. Thanks for your time and patience.
I tried what you suggested. It looks logical and makes sense that maybe I'd not done enough analysis. However.....
I have 2 devices I want to use for different TV apps. A 2018 LG OLED, and a 4k Roku stick.
Here's what I found when I tried your suggestions, just using NOW TV for test purposes.
I put the TV in VPN 4, a nordvpn connection. NOW TV works fine.
I run getdomainnames, file name NOWTV. ip address of the TV, control C, file is empty. If I take the TV OUT of the vpn, NOW TV fails because of a geolocation error, but I DO see output to the file, plenty of it. I autoscan for sky, now, lightyear, amazon, which all appear in the getdomainnames output. I can see in the IPSET file "NOWTV" lots of entries for all of those.
Then, with the TV still in the VPN, I try Now TV and it works. However, obviously, ALL the TV traffic is now going down the VPN, which is not what I want. So I take the TV out of the vpn, NOW TV fails with a geolocation error.
Should the TV be IN the VPN, or OUT?
What exactly does the command "x3mRouting ALL 4 NOWTV autoscan=sky, now, amazon, lightyear" do? "ALL traffic to VPN 4 matching IPSET list NOWTV", yes? But it autoscanning the NOWTV IPSET file?
How do the entry numbers of the IPSET file increment on their own? What's happening there?
I'm sure I'm being a complete numpty and not understanding what everyone else seems to, but I'd really like to get this working, understand what it's doing, how it's doing it and how to use it to it's fullest potential.
Same scenario, but using te ROKU stick, I don't get ANY output from getdomainnames whether the Roku is IN the VPN or OUT.
I'll fully understand if I'm asking for too much support. I'm sure it already takes up a huge amount of your time...