Last active
November 8, 2021 18:28
-
-
Save 0neday/b571d00ddfebe0a9f1333f8817f582a1 to your computer and use it in GitHub Desktop.
If you have a sharing ss-server which is not running sniproxy, you could use this method to let your vultr vps play netflix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #### for shadowsocks-libev 2.3.6 +, using ipset | |
| # set in dnsmasq.conf | |
| ipset=/fast.com/netflix | |
| ipset=/nflxext.com/netflix | |
| ipset=/nflximg.com/netflix | |
| ipset=/nflximg.net/netflix | |
| ipset=/nflxso.net/netflix | |
| ipset=/nflxvideo.net/netflix | |
| ipset=/nflxvideo.net/netflix | |
| ipset=/nflxvideo.com/netflix | |
| ipset=/netflix.com/netflix | |
| # fix tvq-pm-102 error on nvidia shield andriod tv | |
| ipset=/amazonaws.com/netflix | |
| # netflix | |
| ipset create netflix hash:ip hashsize 4096 | |
| setenforce 0 | |
| service dnsmasq restart | |
| # new nat tables, redirect all netflix package which come from output chian to 1234 port, and then send to unblock ss-server. | |
| iptables -t nat -N NETFLIX | |
| iptables -t nat -A NETFLIX -p tcp -m set --match-set netflix dst -j REDIRECT --to-ports 1234 | |
| iptables -t nat -I OUTPUT -p tcp -m multiport --dports 80,443 -j NETFLIX | |
| /opt/shadowsocks-libev/bin/ss-redir -c /opt/shadowsocks-libev/ss-ru.json -b 0.0.0.0 -l 1234 -f /tmp/ss.pid | |
Author
Author
for fix tvq-pm-102 error on nvidia shield andriod tv
add
ipset=/amazonaws.com/netflix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This method could let netflix play on vultr by using a ss-server which is not blocked by netflix.