Menu

#1576 All traffic though proxy without any configuration

closed
5
2014-08-26
2013-06-28
Anonymous
No

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!!

Discussion

  • Fabian Keil

    Fabian Keil - 2013-06-28
    • assigned_to: nobody --> fabiankeil
    • status: open --> pending
     
  • Fabian Keil

    Fabian Keil - 2013-06-28

    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.

     
  • Anonymous

    Anonymous - 2013-06-28

    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

     
  • Fabian Keil

    Fabian Keil - 2013-06-28
    • status: open --> pending
     
  • Fabian Keil

    Fabian Keil - 2013-06-28

    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.

     
  • Anonymous

    Anonymous - 2013-06-30

    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!

     
  • Fabian Keil

    Fabian Keil - 2013-07-04
    • status: open --> pending
     
  • Fabian Keil

    Fabian Keil - 2013-07-13

    You're welcome. Thanks for the confirmation.

     
  • Fabian Keil

    Fabian Keil - 2013-07-13
    • status: open --> closed
     

Log in to post a comment.