Skip to content

Instantly share code, notes, and snippets.

View jhelios's full-sized avatar

Jhon Vela jhelios

  • Bogotá, Colombia
View GitHub Profile
@jhelios
jhelios / forti-fix.sh
Created August 28, 2023 19:13 — forked from SydoxX/forti-fix.sh
Fixes Forticlient 7.0.7
#!/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 ]