決定作出“一些“管制,ipad/手提多數用無線上網。首先在dhcp server,以mac address為記認,每次連接派發相同IP address[1]。
再設定一個"kids"群組, 該組經opendns nameserver上網。再係opendns上阻擋特定的網站e.g. social network, webmail。
Procedure:
1. edit /etc/config/dhcp to add a new section
config tag 'kids' list dhcp_option '6,208.67.222.222,208.67.220.220'
2. Now add individual sections for all devices you want to include in the ‘kids’ section:
config host option name 'pluto' option mac 'YOUR DEVICE MAC ADDRESS' option ip 'YOUR DEVICE ADDRESS ON THE INTERNAL NETWORK' option tag 'kids'
3. Restart dnsmasq with: /etc/init.d/dnsmasq restart
opendns有家用版,登記及使用費用全免。
[1]https://nicolas314.wordpress.com/2014/12/10/parental-control-with-openwrt-and-opendns/
[2]https://support.opendns.com/hc/en-us/community/topics
沒有留言:
發佈留言