Can't use polipo from other PCs on the network

Asked by Siegfried Gevatter

I'm trying to setup polipo on my network, and from my PC (where it is installed) it works fine but I can't get it to work on the other computers. The test computers are:

 - PC with polipo: 192.168.1.20 (prompt: [rainct, XX]$)
 - PC without polipo: 192.168.1.10 (prompt: rainct@OFICINA:~$)

/etc/polipo/config
------------------

proxyAddress = "127.0.0.1" # IPv4 only

# If you are enabling 'proxyAddress' above, then you want to enable the
# 'allowedClients' variable to the address of your network, e.g.
# allowedClients = 127.0.0.1, 192.168.42.0/24

allowedClients = 127.0.0.1, 192.168.1.0/24

[...]

Test
----

[rainct, tr]$ http_proxy='http://localhost:8123' w3m eurion.net; echo $?
0

rainct@OFICINA:~$ http_proxy='http://192.168.1.20:8123' w3m google.com
w3m: Can't load google.com.

rainct@OFICINA:~$ http_proxy='http://192.168.1.20:8123' w3m 64.233.187.99
w3m: Can't load 64.233.187.99.

/var/log/polipo.log
-------------------

No related output.

Port check
----------

rainct@OFICINA:~$ nmap 192.168.1.20 -p 8123

Starting Nmap 4.53 ( http://insecure.org ) at 2008-08-31 14:49 CEST
Interesting ports on 192.168.1.20:
PORT STATE SERVICE
8123/tcp closed polipo

Nmap done: 1 IP address (1 host up) scanned in 0.495 seconds

Firewall
--------

[rainct, tr]$ sudo iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu polipo Edit question
Assignee:
No assignee Edit question
Solved by:
Siegfried Gevatter
Solved:
Last query:
Last reply:
Revision history for this message
Siegfried Gevatter (rainct) said :
#1

I've found the problem. I had to change proxyAddress from 127.0.0.1 to 0.0.0.0, as described on http://www.pps.jussieu.fr/~jch/software/polipo/manual/Client-connections.html#Client-connections.