Skip to content

gvvad/adhosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdHosts for OpenWrt

Block malware and not "friendly" sites on your local network.

Depend on:

Using:

sh ./adhosts.sh update - update hosts file

sh ./adhosts.sh start - start http server

  • Add addition hosts file to config: /etc/config/dhcp => [config dnsmasq]
    • list addnhosts '/path/to/adhosts/hosts'
  • Set execute flags
    • chmod 777 ./adhosts.sh
  • Set cron task
    • * * * */1 * sh /path/to/adhosts/adhosts.sh update
  • Set startup (/etc/rc.local) task:
    • sh /path/to/adhosts/adhosts.sh start

Hosts files:

StevenBlack/hosts

About

Block malware and not "friendly" sites on your local network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published