Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MiroXP/2c080fd5ab8d19fe0146a00345c9f6b3 to your computer and use it in GitHub Desktop.
Save MiroXP/2c080fd5ab8d19fe0146a00345c9f6b3 to your computer and use it in GitHub Desktop.
FortiClient "Backup routing table failed"

FortiClient "Backup routing table failed"

Can't establish an SSL-VPN connection with the FortiClient since the update to Ubuntu 22.04. The log ('ssvpn.log') says 'Backup routing table failed'. I found the solution on the following website. ''https://tr.linkedin.com/posts/muratsuluhan_ubuntu-2204-de-forticlient-backup-routing-activity-6972928492078264320-Yt_X?trk=public_profile_like_view''

  1. Create script 'systemd-resolve'
  2. Store under '/usr/bin/systemd-resolve'
  3. Make executable 'chmod +x /usr/bin/systemd-resolve'

systemd-resolve

#!/bin/bash

# ToDo
# path: /usr/bin/systemd-resolve 
# chmod +x usr/bin/systemd-resolve
# Source: https://tr.linkedin.com/posts/muratsuluhan_ubuntu-2204-de-forticlient-backup-routing-activity-6972928492078264320-Yt_X?trk=public_profile_like_view

declare -a arguments
for i in "$@"; do
   arguments+=(${i:2})
done
resolvectl ${arguments[@]}
sleep 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment