2009. május 18., hétfő

# OpenWRT - How to set OpenDNS, and block some FQDNs


OpenDNS:
#!/bin/ash
echo 'echo -e "nameserver 208.67.222.222\nnameserver 208.67.220.220" > /tmp/resolv.conf.auto' > /etc/init.d/opendns
chmod 755 /etc/init.d/opendns
ln -s ../init.d/opendns /etc/rc.d/S99opendns
Block a few FQDNs:
wget "http://pastebin.com/pastebin.php?dl=f585ae167" -O /etc/hosts.local

Nincsenek megjegyzések:

Megjegyzés küldése