Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
fabio-C
New Contributor

FortiClient VPN not connecting on Ubuntu: Backup routing table failed

Some debug info:

- sslvpn:739 Login successful

- main:1112 State: Configuring tunnel

- vpn_connection:1263 Backup routing table failed

- main:1412 Init

Things I tried: 
1- reinstall FortiClient
2- disable ufw firewall

How can I solve that?

Ubuntu 22
FortiClient free 7.0.0.0018

21 REPLIES 21
Redtree
New Contributor

Version 6.4.0.0851 works on Ubuntu 22.04 after installing libindicator7. The latest versions 7.0.0.18 doesn't work. Tried it with deb installation and with apt installation. 

omartinm
New Contributor

This is the solution that has worked in my case using ubuntu 22.04 and forticlient 7.0.3.

First, Forticlient tries to flush the DNS cache with the 'systemd-resolve' program which no longer exists in Ubuntu 22.04 (it has been replaced by 'resolvectl').
So we create a script '/usr/bin/systemd-resolve' with the following content:

 

#!/bin/bash

declare -a arguments

for i in "$@"; do
    arguments+=(${i:2})
done

resolvectl ${arguments[@]}
sleep 10

 

Forticlient executes the command 'systemd-resolve --flush-caches' which the script transforms into 'resolvectl flush-caches'. Without the final 'sleep' in my case it kept failing. With this most of the time the VPN connection works

nikhilsingh050

It worked for me but after a certain duration the internet stops working for few seconds. It keeps happening after a certain period. Looks like its happening because of the sleep.

JayWH
New Contributor

This didn't work for me, but based on it, I just did:

 

cp /usr/bin/resolvctl /usr/bin/systemd-resolve

 

There was no /usr/bin/systemd-resolve file present before copying resolvctl to it. The Forticlient VPN is now working as expected, instead of terminating the connection and logging the backup routing problem.

 

Xubuntu 22.04 with Forticlient VPN 7.0.7.0246.  

JayWH
New Contributor

This actually stopped working after a while - either after a reboot or after something else was updated, not exactly sure what.  Will try the solution linked by Sadullah  below.

In the meantime, I've just been using openforticlient.

Sadullah
New Contributor

Hey @JayWH  may be it's funny =), but after a while my solution stopped working and now I tried yours, that works for me. It's message is that we should help each other more lol. 

gworks-giovani

Worked perfect for me! Thanks!!

jleonardovanegas
New Contributor

i have the same problem with an additional behavior, if i connect the pc to wifi via mobile usb tethering it works, but if i connect the pc direct to lan it did not work. none of the above suggestions have worked. Any ideas?

rmwiseman
New Contributor

Unfortunately, nothing here fixed the issue for me. I'm now on Mint 21 (based on Ubuntu 22.04) and I've already got the latest version of Forticlient VPN and the latest versions of libappindicator1 and libindicator7. I've reinstalled all three, but it still won't connect. "vpn_connection:1263 Backup routing table failed" is the error I keep getting.  Any ideas?

 

UPDATE: Since writing the above, I've now come into the office and am on a different WiFi network, and when I woke my computer, FortiClient connected!  I've no idea what's different on this network, but it always used to work on the other one too.  I'll see if it reconnects when I'm next online at home.

Sadullah
New Contributor

Labels
Top Kudoed Authors