All requests from LAN to port 80 are re-routed through -transparent- Privoxy.
From: http://blog.vanutsteen.nl/2014/01/05/in ... n-openwrt/
Add following redirect to /etc/config/firewall:
Code: Select all
config redirect
option proto 'tcp'
option target 'DNAT'
option dest 'lan'
option _name 'transparent-proxy for HTTP'
option src 'lan'
option dest_port '8118'
option src_dport '80'
option dest_ip '192.168.5.1'
option src_dip '!192.168.5.1'
Check Privoxy settings, they must have:
- toggle 1
- enable-remote-toggle 1
- enable-remote-http-toggle 0
- enable-edit-actions 1
- enforce-blocks 0
- buffer-limit 4096
- accept-intercepted-requests 1
- allow-cgi-request-crunching 0
- keep-alive-timeout 300
- socket-timeout 300
DG.