Cisco Anyconnect Docker Networking

  1. Install Cisco Anyconnect Vpn
  2. Cisco Anyconnect 4.8 Download Windows
  3. Cisco Anyconnect Docker Networking App

I am usign docker 18.03.1-ce-win65 (17513), Cisco AnyConnect Secure Mobility Client 3.1.12020 and Symatec Endpoint 14. When im on office and use cable everything works, but on home when I connect VPN I can't share drive with docker. Due to company policies, I am required to use this VPN client. Cisco DevNet includes Cisco's products in software-defined networking, security, cloud, data center, internet of things, collaboration, and open-source software development. The DevNet site also provides learning and sandbox environments for those trying to learn coding and testing apps. AnyConnect Plus/Apex licensing and Cisco head-end hardware is required. The application is not permitted for use with legacy licensing (Essentials or Premium PLUS Mobile). AnyConnect may not be used with non-Cisco hardware under any circumstances.

Using Docker on Windows with Cisco AnyConnect VPN in non-split tunnel mode
gistfile1.txt
Start docker before connecting vpn (to get local ip, eg 192.168.99.100)
After start, connect to VPN, then follow next steps:
From: https://github.com/boot2docker/boot2docker/issues/628
Add port forwarding to the NAT'd adapter in VirtualBox, add:
docker: host=127.0.0.1 port=2367 guest ip=[blank] guest port=2376
container port: 127.0.0.1, port=[the container exposed port to forward] guest ip=[blank], guest port[container port]
From https://www.iancollington.com/docker-and-cisco-anyconnect-vpn/
In Docker Quickstart Terminal, to point to port forwarded Docker, and to turn off checking of SSL certs:
export DOCKER_HOST=tcp://127.0.0.1:2376
alias docker='docker --tlsverify=false'
Alternatively, create a new docker-machine with tlsverify turned off:
docker-machine create -d virtualbox --engine-env DOCKER_TLS=no default
export DOCKER_HOST=tcp://127.0.0.1:2376
docker-machine regenerate-certs
- now you should be able to run docker commands without adding the --tlsverify=false

Using Docker on Windows with Cisco AnyConnect VPN in non-split tunnel mode - gist:d2eabbd402741ae728ef6ab2985dfddd. The docker-compose file runs 2 services (redis and mysql), nothing locally built. It exposes the default ports for those services. I know that docker-compose creates a network when you 'up' it. It creates the network on the bridge interface.

commented Apr 14, 2018

Cisco anyconnect docker networking tutorial

Any ideas on how to do this for my scenario ? Any help is greatly appreciated.

Install Cisco Anyconnect Vpn

commented Jan 31, 2020

commented Jan 31, 2020

Cisco Anyconnect 4.8 Download Windows

Try enabling virtualization through BIOS

Regardless of whether h/w virtualization is enabled in BIOS, you can't run Hyper-V and start a VirtualBox VM with a 64bit guest running at the same time. @mithuns search for 'windows hyper-v running VirtualBox at the same time' or similar terms and you'll find solutions. Easiest answer, use one or the other, but not both at the same time

Cisco Anyconnect Docker Networking App

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment