Hi,
I'm trying to run FortiClient 7.4.3 in a Docker container based on Ubuntu 24.04
All goes well with the installation, all dependencies are resolved, but when I try to run
forticlient vpn edit vpn_name
I receive the error:
Failed to get response from confighandler
Here is my Dockerfile:
FROM ubuntu:24.04
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo libayatana-appindicator3-1 libnspr4 libnss3 libx11-xcb1 libxss1 libsecret-1-0 libnss3-tools iptables
COPY forticlient_vpn_7.4.3.1736_amd64.deb .
RUN dpkg -i forticlient_vpn_7.4.3.1736_amd64.deb && apt install -f
CMD /bin/bash
When I run confighandler:
/opt/forticlient/confighandler
It doesn't get any error, but also doesn't respond with anything.
Anyone can help, please.
Hi Araob
I didn't read anywhere that FortiClient (or FortiClient VPN) is supported on docker or even works on docker.
Ok, I just assumed it would work.
Do you know if there's any alternative to connect to a Fortinet VPN from docker container?
Under Linux (most distribs) there is a plugin for NetworkManager called fortisslvpn (BTW I always use it). I didn't test it under docker but I think there is no reason why it should not work properly for docker.
In Linux you usually configure a VPN profile with GUI or from shell under /etc/NetworkManager/system-connections/ , then establish the connection with "nmcli connection up ..." command.
I'm not docker specialist but I guess you'll need to install NetworkManager in the container.
User | Count |
---|---|
2609 | |
1390 | |
804 | |
664 | |
455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.