Is it possible to run a VPN client inside a docker container?

Is it possible to run a VPN client inside a docker container?

And if so, then will communication between the host and the container be possible?

Architecture Example -

Host <-> Container <-> VPN 172.0.0.1 172.0.0.3 & 222.104.0.105 222.106.3.5

Thanks in advance!

+4
source share
1 answer

Yes, you can run openvpn or such a container, you will find a lot in the docker hub, see http://registry.hub.docker.com and if you docker run --net=hostcontact the host

0
source

Source: https://habr.com/ru/post/1628969/


All Articles