Privoxy iptables rule help

Discussion in 'Tomato Firmware' started by jjw7mc, Jan 31, 2013.

  1. jjw7mc

    jjw7mc Serious Server Member


    I am currently running Tomato Firmware v1.28.7501.2 MIPSR2Toastman-RT K26 USB VPN-NOCAT on my Asus RT-N66U. I've installed Privoxy via Entware, and its running fine if I manually enter Privoxy info on my browser. I want to make my life easier by having the router intercept request to port 80 and have it redirected to Privoxy on port 8118, instead of configuring Privoxy on every browser on my LAN. I found the below iptables rule on the forum but it does not work for me.

    I enabled "accept-intercepted-requests" in /opt/etc/privoxy/config


    I enter this rule in Administration-->Scripts-->Firewall, then rebooted my router
    iptables -t nat -A PREROUTING -i br0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8118
    I've tested by going to youtube (still seeing ads) and by going to (this is Privoxy's built-in user interface), if the iptables rule was working correctly I should be able to view Privoxy's built-in user interface just like I was able to do when I manually entered Privoxy info on my browser.

    I dont know anything about iptables rules, can someone help me with fixing the iptables rules please.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice