Polipo has an option to enable/disable disk cache, so I turn it off and only use RAM cache (since I have much RAM available, I allocate 14MB for polipo)
Polipo is working properly for me, but I still have some problems:
Every computer needs to connect to the internet via the polipo proxy
For example: 192.168.1.1:8123 In my case, it is 192.168.123.95:8123
I find it a little bit troublesome to set the proxy for every computer and set it back when connecting to a different network. Therefore, I'm thinking of how to make the web proxy transparent to the users in my network, for example, using iptables to redirect the requests to 192.168.123.95:8123
I found
this (by Google)
Code: Select all
iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --uid-owner polipo -j ACCEPT
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-ports 8123
but I do not have user "polipo", so the script yielded an error and the proxy become useless
How can I add another user to Gargoyle?