Hi,
is it possible to configure my router (TP-Link TL-WR1043N/ND with OpenWRT) so, that all traffic goes though a proxy (on the router)?
Important: I don´t want to configure my clients like computers or smartphones explicitly. I don´t want to type in the proxys adress or something like this. All traffic should by default goes though the proxy.
In the moment I´ve privoxy 3.0.19 installed...
Thanks!!
Privoxy can deal with redirected HTTP connections, but not with "all traffic" in general which also includes encrypted HTTP connections:
http://www.privoxy.org/user-manual/config.html#ACCEPT-INTERCEPTED-REQUESTS
The actual redirection is done with a packet filter like iptables.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Actually I just want it for http-connections...
So (how) can I redirect all http-request to my router rthough the proxy without config it on my clients?
Thanks
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
You'll have to configure your router's packet filter to redirect outgoing connections with destination port 80 into Privoxy's listening port (usually 8118).
This should be documented in the OpenWRT or the general iptables documentation.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Okay... I understand/did it like this:
config redirect
option src 'lan'
option proto 'tcp'
option src_dport '80'
option dest_ip '192.168.0.1'
option dest 'lan'
option dest_port '4711'
But now I, when I want to open a website, it comes:
"invalid header received from client"
When I use another proxy (tinyproxy) it works with this config... But I want to use privoxy! :-)
Whatßs the problem now? How can I solve it? Thanks a lot!
Please enable logging as described at:
http://www.privoxy.org/user-manual/contact.html#CONTACT-BUGS
and provide a log excerpt.
Note that Privoxy defaults to not accepting intercepted requests. If you didn't change the config file, it would explain the problem:
http://www.privoxy.org/user-manual/config.html#ACCEPT-INTERCEPTED-REQUESTS
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Yeah... it works now! Thanks!
You're welcome. Thanks for the confirmation.