Docker Community Forums

Share and learn in the Docker community.

Docker internal network VPN to Container

docker

#1

Hello,

i’m new at Docker and i have a problem with networking.

I want a VPN container (OpenVPN) and “behind” this a container with proxy.
Only requests through the VPN should go to the proxy.

I have made an own network bridge with an own ip range /27.
The OpenVPN set an static IP for the device.

The Proxy is setted in the own network.
But i cant reach the proxy, how can i publish the ports to the vpn container?

I need one VPN and many Proxy containers.
Every Proxy container becomes an own network and the VPN set the static ip’s to the devices.

I hope that someone understands my problem :smiley: