walterl / proton-privoxy

Privoxy over ProtonVPN in Docker
MIT License
112 stars 29 forks source link

create /dev/net/tun when missing #26

Closed ghost closed 2 years ago

ghost commented 2 years ago

As you suggests, here is a cleaned up version of my fix for docker swarm mode.

Since there is no option to use 'devices' in services running on a docker swarm i added a few lines of code to create the required device inside the container.

This is running fine on my rasperry-pi swarm cluster.

I already increased the image version to 0.4.2. We can change this if its more a 0.5.0 for you