schmas / docker-openvpn-client

Docker OpenVPN Client
GNU General Public License v3.0
41 stars 32 forks source link

share the VPN connection with multiple containers #16

Closed groenator closed 5 years ago

groenator commented 5 years ago

Hi,

I am want to share the VPN connection with other containers, I wrote my docker-compose file, which is including two services, one for VPN and the other one for my NZBGet container. However, the connection between both containers is not shared. The containers are in the same network, they have the same configuration but no luck.

`version: '3' services: windscribe: container_name: windscribe image: dceschmidt/openvpn-client restart: unless-stopped privileged: true stdin_open: true tty: true cap_add:

How can I route the other container traffic via OpenVPN?

groenator commented 5 years ago

I sorted out now, in the end, I was able to share the same VPN connection with other containers.