Skip to content

Centralized adblock plus for your home / office with privoxy proxy server.

License

Notifications You must be signed in to change notification settings

askz/adblockplus-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adblock Plus Server

Centralized adblock plus for your home / office. So all kind of advertisement blocked in one place. No need to install extensions in your Desktop, Laptop, Tablet, Smartphone etc.,

Run the below docker in any one of machine in your network.

docker run -d --cap-add=NET_ADMIN \
-p 8118:8118 \
--name adblock arulrajnet/adblockplus-server:latest

Then add this as proxy server in all other system. For ex 192.168.0.10:8118

Guide to Setup Proxy in

For Geek

These steps for advanced yours

docker build -t arulrajnet/adblockplus-server:latest .

Suppose you want to redirect all your router traffic to privoxy. you have touch into the iptables.

TODO: To be done. Not yet completed.

iptables -t nat -A PREROUTING --source 10.42.0.1/24 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8118

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8118 iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8118

above 2 not working

iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j DNAT --to 172.17.0.1:8118

iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 443 -j DNAT --to 172.17.0.1:8118

Reference

https://github.com/RMerl/asuswrt-merlin/wiki/How-to-use-Adblock-Plus-filter-subscriptions-to-provide-advertisement-filtering-to-devices

https://github.com/evaryont/bin/blob/master/adblock-to-privoxy

https://github.com/StevenBlack/hosts/blob/master/updateHostsFile.py

License

MIT License.

Author

follow
@arulrajnet

About

Centralized adblock plus for your home / office with privoxy proxy server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%