I have a VPN gateway which allows remote access to a network with subnet 188.8.131.52/16.
I have a local machine setup with ubuntu 14.04 and strongswan which connects to that VPN server using IKEv2 RSA and while connected, I'm successfully able to ping all the hosts behind my VPN (say for example 184.108.40.206) from my ubuntu machine. VPN server assigns IPs out of virtual IP range 192.168.40.0/24 to clients. Lets say my ubuntu machine receives IP 192.168.41.1 when connected.
on this ubuntu machine I have docker installed and from inside one of docker images I have to access one of the machines behind VPN (220.127.116.11). I can not ping that server from inside docker container, even though pinging is successful from docker host (which is ubuntu machine). It is also interesting to know that pinging 192.168.41.1 is successful from inside docker container.
any idea what cloud the problem be?