Last active
August 11, 2021 21:04
-
-
Save alexalouit/04c773ea71bd89bb2cd09576c29dd9e9 to your computer and use it in GitHub Desktop.
Netflix + IPv6 HE tunnel + Chromecast
This file contains 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
server=/netflix.com/# | |
address=/netflix.com/:: | |
server=/netflix.net/# | |
address=/netflix.net/:: | |
server=/nflxext.com/# | |
address=/nflxext.com/:: | |
server=/nflximg.net/# | |
address=/nflximg.net/:: | |
server=/nflxvideo.net/# | |
address=/nflxvideo.net/:: | |
server=/nflxso.net/# | |
address=/nflxso.net/:: |
This file contains 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
config dnsmasq | |
list server '/netflix.com/#' | |
list server '/netflix.net/#' | |
list server '/nflxext.com/#' | |
list server '/nflximg.net/#' | |
list server '/nflxvideo.net/#' | |
list server '/nflxso.net/#' | |
list address '/netflix.com/::' | |
list address '/netflix.net/::' | |
list address '/nflxext.com/::' | |
list address '/nflximg.net/::' | |
list address '/nflxvideo.net/::' | |
list address '/nflxso.net/::' |
This file contains 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
iptables -A PREROUTING -p tcp -m tcp --dport 53 -m mac --mac-source XX:XX:XX:XX:XX:XX -m comment --comment "dns chromecast tcp" -j REDIRECT --to-ports 53 | |
iptables -A PREROUTING -p udp -m udp --dport 53 -m mac --mac-source XX:XX:XX:XX:XX:XX -m comment --comment "dns chromecast udp" -j REDIRECT --to-ports 53 |
This file contains 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
config redirect | |
option target 'DNAT' | |
option proto 'tcp udp' | |
option src_dport '53' | |
option dest_port '53' | |
option name 'Force-DNS-Chromecast' | |
option src 'lan' | |
list src_mac 'XX:XX:XX:XX:XX:X1' | |
list src_mac 'XX:XX:XX:XX:XX:X2' |
This file contains 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
ip -6 route add blackhole 2620:108:700f::/48 | |
ip -6 route add blackhole 2a01:578:3::/48 | |
ip -6 route add blackhole 2406:da00:ff00::/48 | |
ip -6 route add blackhole 2607:f8b0:4001::/48 | |
ip -6 route add blackhole 2600:1407:19::/48 | |
ip -6 route add blackhole 2a05:d018:76c::/48 | |
ip -6 route add blackhole 2600:1f14:62a:de80::/61 | |
ip -6 route add blackhole 2a00:86c0:2041::/48 |
This file contains 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
config route6 | |
option interface 'wan6' | |
option target '2620:108:700f::/48' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2a01:578:3::/48' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2406:da00:ff00::/48' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2607:f8b0:4001::/48' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2600:1407:19::/48' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2a05:d018:76c::/48' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2600:1f14:62a:de80::/61' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2600:1f18:631e::/48' | |
option type 'blackhole' | |
config route6 | |
option interface 'wan6' | |
option target '2a00:86c0:2041::/48' | |
option type 'blackhole' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment