[Support] binhex - PrivoxyVPN


binhex

255 posts in this topic Last Reply

Recommended Posts

Overview: Support for Docker image arch-privoxyvpn in the binhex repo.

Application: Prvoxy - https://www.privoxy.org/

Docker Hub: https://hub.docker.com/r/binhex/arch-privoxyvpn

GitHub: https://github.com/binhex/arch-privoxyvpn

 

If you appreciate my work, then please consider buying me a beer¬†ūüėÄ

 

btn_donate_SM.gif&key=57f6b617e37a194c35

 

For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here

Edited by binhex
Link to post
  • Replies 254
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

@binhex, this absolutely works on your container. I am currently using this setup successfully with no major issues. I wanted a VPN "gateway" for specific other containers, where all their traffic cou

I don't know of a way to use a proxy with Plex either, but you can do what I have done with some of my containers and run *all* of the Plex traffic through a VPN container. Since you won't be doing re

ive figured it out, privoxy requires additional relaxed iptables in order to operate due to the proxying nature, thus if you do not have enable_privoxy set to yes then you wont be able to use delugevp

Posted Images

Sorry, not a request for support but thanks! This is exactly what I was hoping for! I use your DelugeVPN container and I use a LOT of other stuff going through the proxy it generates. The only thing is, sometimes, I just need to use a different endpoint and now this makes it easy. Thanks again!

Link to post

Hi. Thank you for making this container.

 

I am already running your ruTorrentVPN container w/ privoxy enabled. I would like to install this one as well in order to have another endpoint available as an option. Since the ruTorrent one is already using 8118 for privoxy, would it be sufficient to change the host port of this container to say 8119 (leaving the container port 8118) in order to get this working? I've tried that, but privoxy does not seem to be working. Thank you.

Link to post
Hi. Thank you for making this container.
 
I am already running your ruTorrentVPN container w/ privoxy enabled. I would like to install this one as well in order to have another endpoint available as an option. Since the ruTorrent one is already using 8118 for privoxy, would it be sufficient to change the host port of this container to say 8119 (leaving the container port 8118) in order to get this working? I've tried that, but privoxy does not seem to be working. Thank you.
Yes that will do it, obviously you need to configure it with username, password and ovpn etc, you done that?

Sent from my EML-L29 using Tapatalk

Link to post
1 hour ago, binhex said:

Yes that will do it, obviously you need to configure it with username, password and ovpn etc, you done that?

Sent from my EML-L29 using Tapatalk
 

Yes, I put in the user/pass into the template and started the container once. I then copied over my .ovpn config into the openvpn folder. I was then was able to see that the credentials.conf was created. The logs say that privoxy has started. I'll recheck everything. I just wanted to confirm that setting up the host port that way was ok. Thank you.

 

UPDATE: I tried to use the proxy in a radarr config, and it seems to connect fine. I just can't get it to work in a web browser for some reason.

Edited by theGrok
Link to post
16 hours ago, theGrok said:

UPDATE: I tried to use the proxy in a radarr config, and it seems to connect fine. I just can't get it to work in a web browser for some reason.

its gotta be something incorrectly configured for your browser then, check proxy settings and ensure they point at the right ip address (as in your host) and the correct host port (default is 8118).

Link to post
  • 4 weeks later...
This is great! Thanks! Running it with pia on br0 with fixed ip should work? (it looks like it)
You can run it via default bridge, or custom bridge, macvlan is not supported.

Sent from my EML-L29 using Tapatalk

Link to post
22 minutes ago, binhex said:

You can run it via default bridge, or custom bridge, macvlan is not supported.

Sent from my EML-L29 using Tapatalk
 

Oh ok, that's not what i wished for. I have the rtorrentvpn container running bridged but i have other containers running on br0 (macvlan) that can't use the privoxy part of the rtorrentvpn container because the limitation that does not allow host <-> macvlan. That's why this container made me get my hopes up. I really want some of the other containers to proxy http(s) traffic over vpn (pia) but it would be problematic for me to move all containers to bridge or host. So many different ports... ;)

The thing is, I have it on br0 now and it seem to proxy my traffic when using the ip I have assigned to the container? It "could" work but not supported? Like one Firefox setup, with the macvlan ip and port 8118 for proxy server, surfing to the pia homepage tells me that my connection is using pia ("Your IP Address: xx Your ISP: PIA You are protected by PIA").

Edited by Niklas
Link to post
14 minutes ago, Niklas said:

It "could" work but not supported?

I think the answer to this is yes, correct me if I'm wrong. If it works it works, if not, then oh well. I think this is the case for all the ..VPN containers. I have the delugevpn container running on macvlan, but I think I'm one of the lucky few because almost nobody else is able to get it to work.

Link to post
1 minute ago, strike said:

I think the answer to this is yes, correct me if I'm wrong. If it works it works, if not, then oh well. I think this is the case for all the ..VPN containers. I have the delugevpn container running on macvlan, but I think I'm one of the lucky few because almost nobody else is able to get it to work.

The thing that worries me is the isolation. If the iptable rules that prevents leakage works as designed when running on br0/macvlan.

Edited by Niklas
Link to post

Yeah, mine too really. I know how to set it up I think, but I don't know how to analyze the data. But I've not seen any leakage on delugevpn with privoxy enabled when testing on various leakage test sites so I'm choosing to trust it.

Edited by strike
Link to post

I am getting a error that VPN_PORT not found.. anyone that can help me

Quote


2019-03-23 10:34:58.507145 [info] PUID defined as '99'
2019-03-23 10:34:58.575596 [info] PGID defined as '100'
2019-03-23 10:34:58.666036 [info] UMASK defined as '000'
2019-03-23 10:34:58.726097 [info] Permissions already set for volume mappings
2019-03-23 10:34:58.792529 [info] VPN_ENABLED defined as 'yes'
2019-03-23 10:34:58.867540 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn
dos2unix: converting file /config/openvpn/openvpn.ovpn to Unix format...
2019-03-23 10:34:58.958336 [info] VPN remote line defined as 'remote lu.vpnunlimitedapp.com'
2019-03-23 10:34:59.021928 [info] VPN_REMOTE defined as 'lu.vpnunlimitedapp.com'
2019-03-23 10:34:59.084107 [crit] VPN_PORT not found in /config/openvpn/openvpn.ovpn, exiting...

 
Link to post
I am getting a error that VPN_PORT not found.. anyone that can help me

2019-03-23 10:34:58.507145 [info] PUID defined as '99'
2019-03-23 10:34:58.575596 [info] PGID defined as '100'
2019-03-23 10:34:58.666036 [info] UMASK defined as '000'
2019-03-23 10:34:58.726097 [info] Permissions already set for volume mappings
2019-03-23 10:34:58.792529 [info] VPN_ENABLED defined as 'yes'
2019-03-23 10:34:58.867540 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/openvpn.ovpn
dos2unix: converting file /config/openvpn/openvpn.ovpn to Unix format...
2019-03-23 10:34:58.958336 [info] VPN remote line defined as 'remote lu.vpnunlimitedapp.com'
2019-03-23 10:34:59.021928 [info] VPN_REMOTE defined as 'lu.vpnunlimitedapp.com'
2019-03-23 10:34:59.084107 [crit] VPN_PORT not found in /config/openvpn/openvpn.ovpn, exiting...
 
Your have a invalid ovpn file would be my guess, the remote line should always define the hostname and port.

Sent from my EML-L29 using Tapatalk

Link to post
1 hour ago, binhex said:

Your have a invalid ovpn file would be my guess, the remote line should always define the hostname and port.

Sent from my EML-L29 using Tapatalk
 

My opvn file lookes like this + code 

in the remote line there should pe a port number. What port number? my outgoing, the dockers port number, the portnumber of my provider ?

Thanks for the great work of making the dockers. Im running alot of yours.

 

remote lu.vpnunlimitedapp.com
client
dev tun
reneg-sec 0
persist-tun
persist-key
ping 5
ping-exit 30
nobind
comp-lzo no
remote-random
remote-cert-tls server
auth-nocache
route-metric 1
<ca>
-----BEGIN CERTIFICATE-----

Link to post
My opvn file lookes like this + code 
in the remote line there should pe a port number. What port number? my outgoing, the dockers port number, the portnumber of my provider ?
Thanks for the great work of making the dockers. Im running alot of yours.
 
remote lu.vpnunlimitedapp.com
client
dev tun
reneg-sec 0
persist-tun
persist-key
ping 5
ping-exit 30
nobind
comp-lzo no
remote-random
remote-cert-tls server
auth-nocache
route-metric 1

-----BEGIN CERTIFICATE-----
The port number for your VPN providers endpoint, I can't tell you what that is as it could be anything.

Sent from my EML-L29 using Tapatalk

Link to post
7 minutes ago, binhex said:

The port number for your VPN providers endpoint, I can't tell you what that is as it could be anything.

Sent from my EML-L29 using Tapatalk
 

Thanks, didn¬īt expect that you could tell me my services providers port number ;-)¬†

Link to post

sorry to ask again...

 

I have some errors..    write UDP: Operation not permitted (code=1)

 

2019-03-23 16:34:47,499 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 121 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 121 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2019-03-23 16:34:47,500 DEBG 'start-script' stdout output:
--------------------

2019-03-23 16:34:47,501 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2019-03-23 16:34:47,534 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:47 2019 WARNING: file 'credentials.conf' is group or others accessible
Sat Mar 23 16:34:47 2019 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2018
Sat Mar 23 16:34:47 2019 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10

2019-03-23 16:34:47,535 DEBG 'start-script' stdout output:
[info] OpenVPN started

2019-03-23 16:34:47,536 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:47 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]146.0.32.121:1194
Sat Mar 23 16:34:47 2019 UDP link local: (not bound)
Sat Mar 23 16:34:47 2019 UDP link remote: [AF_INET]146.0.32.121:1194

2019-03-23 16:34:47,536 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:47 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:34:49,965 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:49 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:34:53,607 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:53 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:35:01,402 DEBG 'start-script' stdout output:
Sat Mar 23 16:35:01 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:35:17,675 DEBG 'start-script' stdout output:
Sat Mar 23 16:35:17 2019 [UNDEF] Inactivity timeout (--ping-exit), exiting

2019-03-23 16:35:17,675 DEBG 'start-script' stdout output:
Sat Mar 23 16:35:17 2019 SIGTERM[soft,ping-exit] received, process exiting

Link to post
sorry to ask again...
 
I have some errors..    write UDP: Operation not permitted (code=1)
 
2019-03-23 16:34:47,499 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT DROP
-A INPUT -i tun0 -j ACCEPT
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 121 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 121 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT

2019-03-23 16:34:47,500 DEBG 'start-script' stdout output:
--------------------

2019-03-23 16:34:47,501 DEBG 'start-script' stdout output:
[info] Starting OpenVPN...

2019-03-23 16:34:47,534 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:47 2019 WARNING: file 'credentials.conf' is group or others accessible
Sat Mar 23 16:34:47 2019 OpenVPN 2.4.6 x86_64-pc-linux-gnu [sSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2018
Sat Mar 23 16:34:47 2019 library versions: OpenSSL 1.1.1a 20 Nov 2018, LZO 2.10

2019-03-23 16:34:47,535 DEBG 'start-script' stdout output:
[info] OpenVPN started

2019-03-23 16:34:47,536 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:47 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]146.0.32.121:1194
Sat Mar 23 16:34:47 2019 UDP link local: (not bound)
Sat Mar 23 16:34:47 2019 UDP link remote: [AF_INET]146.0.32.121:1194

2019-03-23 16:34:47,536 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:47 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:34:49,965 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:49 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:34:53,607 DEBG 'start-script' stdout output:
Sat Mar 23 16:34:53 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:35:01,402 DEBG 'start-script' stdout output:
Sat Mar 23 16:35:01 2019 write UDP: Operation not permitted (code=1)

2019-03-23 16:35:17,675 DEBG 'start-script' stdout output:
Sat Mar 23 16:35:17 2019 [uNDEF] Inactivity timeout (--ping-exit), exiting

2019-03-23 16:35:17,675 DEBG 'start-script' stdout output:
Sat Mar 23 16:35:17 2019 SIGTERM[soft,ping-exit] received, process exiting
You need to run this privileged, I'm guessing you aren't

Sent from my EML-L29 using Tapatalk

Link to post

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.