Hello All,
Having some issues with this script hoping I can get some assistance. I first set this up about 3 Months ago an have been having issues with Netflix since I set it up, fortunately Hulu and Amazon video worked well enough that my family was not complaining too much about the issues with Netflix. I recently added Disney+ to the mix and was getting a message that the content is locked by region. I added the code shared by
@Kingp1n:
sh /jffs/scripts/x3mRouting/load_DNSMASQ_ipset_iface.sh 0 DISNEYPLUS_WEB disneyplus.com
sh /jffs/scripts/x3mRouting/load_ASN_ipset_iface.sh 0 DISNEYPLUS AS16509
and I am now able to access the Disney+ content. Thank you
@Kingp1n!!!
So now that I had a little spare time I decided to work on my Netflix issue to see if I could not get that working as well.
When I first set the script up I used Method 3, and I attempted the ASN configuration for Netflix with the following code:
sh /jffs/scripts/x3mRouting/load_ASN_ipset_iface.sh 0 NETFLIX AS2906
This did not work for me, While going through this forum and the previous forum that
@Xentrk had set up I found a thread that said that some people were having trouble with the ASN method and it was recommended to try the DNSMASQ method, and some people needed both the DNSMASQ and ASN method to get Netflix to work. At the time I was a little pressed for time so I skipped deleting the ASN code and just added the DNSMASQ code by adding the following line of code:
sh /jffs/scripts/x3mRouting/load_DNSMASQ_ipset_iface.sh 0 NETFLIX amazonaws.com,netflix.com,nflxext.com,nflximg.net,nflxso.net,nflxvideo.net
After adding this Netflix somewhat worked, some things would play, and some things I would get a message that I was behind a Proxy or VPN Message, sometimes things would start to play and then in the middle of them I would get the Proxy or VPN Message. This morning as I stated since I had some more time I started working on Netflix a little more with the Hopes of resolving the issues. I started by running the following commands to delete all IPsets and Routing entries for Netflix:
sh /jffs/scripts/x3mRouting/load_ASN_ipset_iface.sh 0 NETFLIX AS2906 del
sh /jffs/scripts/x3mRouting/load_DNSMASQ_ipset_iface.sh 0 NETFLIX amazonaws.com,netflix.com,nflxext.com,nflximg.net,nflxso.net,nflxvideo.net del
I then went and confirmed that this was deleted by attempting to view Netflix content on my FireTV and got the Proxy or VPN message on every show that I attempted. I then reran the DNSMASQ code to test that method alone with the following code:
sh /jffs/scripts/x3mRouting/load_DNSMASQ_ipset_iface.sh 0 NETFLIX amazonaws.com,netflix.com,nflxext.com,nflximg.net,nflxso.net,nflxvideo.net
This yielded the Same result, some things played others kicked the Proxy or VPN error message, that said it seems that far more things work now then did before deleting the Netflix IPsets and Routing table entries.
I then removed the DNSMASQ configuration by again running the del or the above line of code and attempted to put the ASN method back in. When I did that the following text came up in the console:
-AC88U-1300:/jffs/scripts/x3mRouting# sh /jffs/scripts/x3mRouting/load_ASN_ipset_iface.sh 0 NETFLIX A
S2906
(load_ASN_ipset_iface.sh): 10145 Starting Script Execution
(load_ASN_ipset_iface.sh): 10145 IPSET created: NETFLIX hash:net family inet hashsize 1024 maxelem 65536
ipset v6.32: Error in line 1: Syntax error: cannot parse create: resolving to IPv4 address failed
(load_ASN_ipset_iface.sh): 10145 Selective Routing Rule via WAN created for NETFLIX (TAG fwmark 0x8000/0x8000)
(load_ASN_ipset_iface.sh): 10145 Ending Script Execution
I am far from an expert in this stuff, infact I am very new this, it is my first time using 3rd party firmware and adding 3rd party scripts to my router, but it looks like there is a syntax error in the code that is preventing it from parsing the ipset and it can not resolve the IPv4 addresses. After running this I again tested Netflix and nothing would play I got the VPN / Proxy error message for everything. for the time being I ran the del command on the ASN and reconfigured the DNSMASQ method and am running it that way but would like to resolve the issues with the items that will not play as some of them are family favorites any assistance with getting this issue resolved is GREATLY appreciated.