Last active
March 1, 2025 18:54
-
-
Save SydoxX/f40a9d4d7af414049b6e07092e8bbc2b to your computer and use it in GitHub Desktop.
Fixes Forticlient 7.0.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# version 2 thanks to @dhx-mike-palandra | |
echo "Creating /etc/NetworkManager/conf.d/99-forticlient.conf..." | |
sudo cat > /etc/NetworkManager/conf.d/99-forticlient.conf << 'EOF' | |
[keyfile] | |
unmanaged-devices=interface-name:~vpn*,type:tun | |
EOF | |
if [ $? -eq 0 ] | |
then | |
echo "Successfully created config file. VPN connection should work now." | |
else | |
echo "Failed to create config file! Try running this script with root permissions." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks it worked for me on fedora release 41 version! needed a restart of the network manager though