Skip to content

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

@acrazyanimal

Description

@acrazyanimal

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions