Skip to main content
rafalnarowski
Explorer
Jun 4, 2022 7:33 PM UTC
Solved

VPN connection not working after update to Ubuntu 22.04

Hi,

 

I've been using FortiClient VPN on Ubuntu 20.04 and have no problems. 

Last week I have installed Ubuntu 22.04 from scratch and have several issues connecting to company VPN. 

 

Today I've manage to connect to company VPN but no `bytes received` has to come.

Screenshot from 2022-06-04 21-25-27.png

Logs shows, that some routes are failed to add:
e.g. [sslvpn:DEBG] route:475 Failed add route: addr XX.X.X.X netmask 255.255.0.0 gw XX.X.XXX.X dev vpn
this command fails several times.

 

Could someone help me with this?

 

Also sometimes connecion is not established and have this error in logs: [sslvpn:DEBG] main:1457 exception: Backup routing table failed

 

Regards.

rafalnarowski
Explorer
Jun 20, 2022 7:54 AM UTC

Hello, thank's to @Anthony_E  i was able to find solution.

I made changes described here: https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1960268/comments/32

 

 

Regards.

13 replies

SlavaS
Visitor III
Aug 23, 2022 8:51 PM UTC

I found this solution in another forum, worked for me - 

(https://community.fortinet.com/t5/Fortinet-Forum/DNS-settings-on-Ubuntu-22-04-and-FortiClient-VPN-7-0-0-0018/m-p/221437#M198488)

 

you need to edit NM config

sudo vi /etc/NetworkManager/NetworkManager.conf

and append the following:

 

[keyfile]
unmanaged-devices=interface-name:vpn*,except:interface-name:enp0s3;interface-name:wlan*

 

then restart your service

$ sudo systemctl restart NetworkManager.service

 

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024