wfg / docker-openvpn-client

OpenVPN client with killswitch and proxy servers; built on Alpine
MIT License
353 stars 107 forks source link

Network_mode: service:vpn #39

Closed Johan-Claesson closed 2 years ago

Johan-Claesson commented 2 years ago

Hello, whenever I enable a container to use the vpn container as their network, the first container registers on "the wrong side" of the tunnel.

My home net is 192.168.10.0/24, however when checking log of service1 it listens on 172.x.x.x address.

Please assist! ##

networks: my-net: external: name: "my-net"

services: vpn: image: ghcr.io/wfg/openvpn-client container_name: vpn cap_add:

wfg commented 2 years ago

I'm not sure what the problem is.