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
| YOUR_GETFLIX_SERVER=1.2.3.4 # see https://www.getflix.com.au/setup/overview | |
| YOUR_ATV_MAC=AA:BB:CC:DD:EE # see ”DHCP and DNS" in OpenWrt | |
| iptables -A zone_lan_forward ! -d $YOUR_GETFLIX_SERVER/32 -p tcp -m tcp --dport 53 -m mac --mac-source $YOUR_ATV_MAC -m comment --comment "restrict dns" -j zone_wan_dest_REJECT | |
| iptables -A zone_lan_forward ! -d $YOUR_GETFLIX_SERVER/32 -p udp -m udp --dport 53 -m mac --mac-source $YOUR_ATV_MAC -m comment --comment "restrict dns" -j zone_wan_dest_REJECT |