HowTo use polipo as a intercepting (transparent) proxy :)

It's very simple.
We need only a little helper software. I've used privoxy with minimal
configuration as a "intercepting gate".

my privoxy config:


trust-info-url  http://www.example.com/why_we_block.html
trust-info-url  http://www.example.com/what_we_allow.html
confdir /etc/privoxy
logdir /var/log/privoxy
logfile privoxy.log
listen-address  172.16.255.254:3128
toggle  1
enable-remote-toggle  0
enable-remote-http-toggle  0
enable-edit-actions 0
enforce-blocks 0
buffer-limit 4096
forward / 172.16.255.254:1080
forwarded-connect-retries  0
accept-intercepted-requests 1
allow-cgi-request-crunching 0
split-large-forms 0


privoxy is listening at port 3128
polipo is listening a port 1080
ofcource we need a standard 'redirection' using iptables to privoxy

(iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to-port 3128)

and privoxy is using polipo as a standard proxy.

In this configuration privoxy is (almost ??) transparent and is using
minimal amount of resources.

Thats it ;)

Enjoy.

Willy.

-- 
Dansk-Polsk OnLine Ordbog: http://willy.nasghar.net
Danish-Polish OnLine Dictionary: http://willy.nasghar.net
Duńsko-Polski Słownik OnLine: http://willy.nasghar.net

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to