Docker VPN Container should assign IP from other Network

by C. Hediger   Last Updated November 14, 2017 18:01 PM

Following scenarion:

Inet -> USG Firwall -> VLAN (192.168.90.x) -> ServerA -> Docker (172.20.0.x)
                    ¦-> 192.168.100.x 

Im running a Server behind of a Firewall inside of a VLAN. On this Server, several Containers are running. Now i would like to run a VPN as Container on the Docker. Something like this one: https://hub.docker.com/r/hwdsl2/ipsec-vpn-server/

Now my question is the following:

Is it possible, that my client will get an IP from the Range 192.168.100.xxx (Private Network) after connect to the VPN Server?

Actually i block all Traffic from the VLAN to the Private Network. I know that i will have to define some Rules to allow this traffic. This is the second problem. The first one is, how i can assign a private IP-Address to the client.

Thank you :)



Related Questions



Docker apt-get update how does it work?

Updated February 20, 2017 13:01 PM

Docker user write permissions issue

Updated July 24, 2017 02:01 AM


Difference between vserver and Linux Container

Updated February 27, 2017 21:01 PM