How to tunnel to into the private network of my docker containers on Bluemix? -


i have docker containers running on bluemix using private ip addresses. setup tunnel laptop (running linux) access private network on bluemix.

i had first created container running ssh-server. using ssh -d able setup socks5 proxy connection. worked fine chrome not applications support socks proxy.

(google-chrome --proxy-server=socks5://localhost:<tunnel port>) 

so tried create container openvpn server. unfortunately not work on bluemix containers not running privileged , can not create tun device.

bluemix has vpn , secure gateway service, sound promising far not figure out how working.

does know if possible make private docker network available locally , how connect that?

generally speaking containers should used implement services available external applications (an apis service, or runtime, or dbms, or that).

according this, achieve set of services available on different containers, , single container working ssh tunnel gateway, making local environment connected using ssh , defining set of local , remote ssh ports forwarding, different policies according service/port , ip of service.

it should work services, , haven't use socks proxy forward requests different hosts: using remote ssh forwarding ssh endpoint redirect requests right service inside local/private lan. found guide describes correctly how work local&remote port forwarding.

http://www.debianadmin.com/howto-use-ssh-local-and-remote-port-forwarding.html

about openvpn solution, know not possible use software requiring privileged mode on containers, because couldn't allowed on bluemix due security reasons: if wish have kind of solution suggest use openvpn on vm on bluemix uk region (still beta architecture expected final architecture vm service become ga service)

i think these options ones available on bluemix achieve describe without using vpn service suggested @bill-wentworth


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -