Skip to main content
araob
New Member
April 1, 2025
Question

FortiClient 7.4.3 on Ubuntu 24.04 - Error in confighandler

  • April 1, 2025
  • 1 reply
  • 1696 views

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.

1 reply

AEK
SuperUser
SuperUser
April 1, 2025

Hi Araob

I didn't read anywhere that FortiClient (or FortiClient VPN) is supported on docker or even works on docker.

AEK
araob
araobAuthor
New Member
April 1, 2025

Ok, I just assumed it would work.

Do you know if there's any alternative to connect to a Fortinet VPN from docker container?

AEK
SuperUser
SuperUser
April 1, 2025

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.

AEK