docker unable to connect to privoxy docker


Recommended Posts

Hey everyone,

I think I'm having a weird issue with my dockers, and I couldn't find anyone describing the same problem.

 

What I'm trying to do:

Connect container A through a privoxy container B (vpn) to the internet.

 

Error message (in firefox docker) is "Proxy server refused connection"

In the privoxy docker logs no connection attempts show up.

 

Strangely, this is the only "thing" that's not working. All of the following scenarios worked just fine:

- Connecting container A to the internet via B with network "none" and --net=container:privoxy option

- Connecting container A to the internet via another privoxy container.

- Connecting container A to the internet directly.

- Connecting a virtual machine to the internet via privoxy container B. It didn't matter if I set the proxy system-wide or in firefox only.

 

Also, all of the above is happening when configuring the privoxies' network either as

bridged with port mappings, or

on custom:br0 with individual IP and standard ports.

The same result for http and socks5 proxy.

 

Enabling host access to custom networks (docker settings) didn't change anything, as suggested by the privoxy docker maintainer.

He said my config should be ok, as it's running perfectly well on his machine...

 

Actually, when I deleted the privoxy B and installed it from scratch,

it worked as inteded for the first time I tried. After, it returned to the described behavior...

 

Setup:

A: several dockers, e.g. firefox

B: hideme privoxy (https://hub.docker.com/r/alturismo/wg_hideme_privoxy)

VM: Windows 10

 

I'm glad if someone has a suggestion.

If you need more info, please let me know 😃

Best regards

Edited by Kosmos
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.