Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Polipo

Featured Replies

linuxserver_medium.png

 

Application Name:  Polipo

Application Site:  http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/

Docker Hub:  https://hub.docker.com/r/linuxserver/polipo/

Github:  https://github.com/linuxserver/docker-polipo

 

Please post any questions/issues relating to this docker you have in this thread.

 

If you are not using Unraid (and you should be!) then please do not post here, rather use the linuxserver.io forum for support.

No template?

 

Support threads are made before XML.... I'm almost done with it :). We put this link in the XML

  • 5 months later...

I'm trying to set up polipo so that it works for all the computers on my network. Looking at the polipo FAQ, it seems I would have to change/add the line:

 

allowedClients = 127.0.0.1, 192.168.187.0/24

 

I looked in the conf file that came with this docker and I see 192.168.0.0/16 in there, does that already capture all of the machines on my network?

 

If not, can I change the conf file to the line above and have the config stay persistent across docker updates?

also, where are cached files stored? in RAM? Or can you specify a share to be used in case you want to cache a lot of data?

  • 7 months later...

also, where are cached files stored? in RAM? Or can you specify a share to be used in case you want to cache a lot of data?

 

not sure if the docker has changed since your question, however, the default location was under the docker's /config/cache. I was able to change this by adding a new path "/cache" to an unused SSD I have, then changing the polipo config file "polipo.conf" and updating the line starting with diskCacheRoot and changing it to "diskCacheRoot = "/cache""

I have a couple questions about this.

 

1. does anyone know how to setup this proxy to be used by your router, I guess with iptables? I am not sure the exact config with iptables that will work

2. is it possible to have polipo ignore certain domains/websites? i've been having a lot of trouble loading plex with polipo enabled, and i was hoping to see if there is a way to have polipo ignore "https://app.plex.tv/web/app" since i think it might be messing with the websockets? i am truly not sure

Can't help with this one I'm afraid.  Only just realised we had a polipo container.....

  • 2 weeks later...

I have a couple questions about this.

 

1. does anyone know how to setup this proxy to be used by your router, I guess with iptables? I am not sure the exact config with iptables that will work

2. is it possible to have polipo ignore certain domains/websites? i've been having a lot of trouble loading plex with polipo enabled, and i was hoping to see if there is a way to have polipo ignore "https://app.plex.tv/web/app" since i think it might be messing with the websockets? i am truly not sure

 

ended up figuring it out in case anyone was interested.

 

you can nest proxies easily using either privoxy or tinyproxy. privoxy has a forward setting, and tinyproxy has a upstream setting. i had to set privoxy to allow accept-intercepted-requests by setting it to 1. beyond that I set my router to forward all HTTP (port 80) data to the proxy server. both privoxy and tiny proxy allow you to "whitelist" domains, so to fix the plex issue I was having, i just needed to whitelist "plex.direct" as a domain

 

my iptables script from the dd-wrt wiki:

 

#!/bin/sh 
PROXY_IP=(insert ip_address)
PROXY_PORT=(insert port_number)
LAN_IP=`nvram get lan_ipaddr`
LAN_NET=$LAN_IP/`nvram get lan_netmask`

iptables -t nat -A PREROUTING -i br0 -s $LAN_NET -d $LAN_NET -p tcp --dport 80 -j ACCEPT 
iptables -t nat -A PREROUTING -i br0 -s ! $PROXY_IP -p tcp --dport 80 -j DNAT --to $PROXY_IP:$PROXY_PORT 
iptables -t nat -I POSTROUTING -o br0 -s $LAN_NET -d $PROXY_IP -p tcp -j SNAT --to $LAN_IP 
iptables -I FORWARD -i br0 -o br0 -s $LAN_NET -d $PROXY_IP -p tcp --dport $PROXY_PORT -j ACCEPT

 

netflix also doesn't like this setup so I had to find their ip ranges and whitelist them too - http://ipinfo.io/AS2906

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.