Xentrk
Part of the Furniture
I noticed in the output of iptables -nvL PREROUTING -t mangle --line, it is reporting a fwmark of 0x8000 instead of 0x7000 that is used in the code.Asus RT-AC5300 on Merlin WRT 380.69
The victory was shortlived - the AWS rules do seem to be allowing Prime Video playback but only on my desktop, when I used the app on my Shield TV I get blocked for using a VPN.
Netflix doesn't seem to be working either but I'm guessing that's because your script targets US servers/IPs? Any suggestions welcome
Code:
Chain PREROUTING (policy ACCEPT 42537 packets, 5726K bytes)
num pkts bytes target prot opt in out source destination
1 0 0 MARK all -- !eth0 * 0.0.0.0/0 192.168.0.7 MARK or 0x8000
When I tested the script, NF bypassed the VPN and I ended up with the Thai version of Netflix. I could tell as when I typed netflix.com, it resolved to netflix.com/th-en. Please double check the fwmark. I made a change to the OP
ip rule add from 0/0 fwmark 0x7000 table main prio 9990
changed to
ip rule add from 0/0 fwmark 0x7000/0x7000 table main prio 9990