Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use openconnect vpn from within the container? #65

Open
acrazyanimal opened this issue Feb 16, 2019 · 2 comments
Open

Comments

@acrazyanimal
Copy link

I've been using the Wodby Drupal packages for a while now for local development. Typical setup is traefik, mariadb and php (also using portainer and mailhog) and am running docker on Ubuntu 16.04. I just ran into an issue of having to connect my drupal project to an external remote service that is on a private network. I tried installing and running openconnect on the php container, but even with sudo could not connect properly. Ran into this issue: "Failed to bind local tun device (TUNSETIFF): Operation not permitted".

I've googled for hours and tried varous things, but am at a loss as to how to get a vpn connection to work from within the php container. Specifically a Cisco anyconnect vpn connection.

Ever tried this?

@csandanov
Copy link
Member

I did not try it but I'm pretty sure it's not an issue specific to this image and should be probably asked on stackoverflow instead

@gertvdb
Copy link

gertvdb commented Aug 3, 2021

I need exactly the same setup.
A call from my docker php container to an API behind a VPN connection.

Any guidelines here for setting this up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants