FortiClient VPN-only on Ubuntu Server 24.04: licensing, routing, sudo issue, auto-reconnect, and partner visibility
Hi Fortinet Community,
I need some advice regarding FortiClient on a Linux server.
Environment
I am using:
- OS: Ubuntu Server 24.04 without GUI
- Use case: connect to an external partner’s VPN
- The partner only supports clients using Fortinet VPN client
- Current package: FortiClient VPN-only 7.4 for Linux
- Previous package: I previously installed the paid FortiClient edition version 7.2 from this page: https://www.fortinet.com/support/product-downloads/linux
Previously, I installed the paid FortiClient edition, but the VPN could no longer be used because there was no license. Since I only need VPN connectivity to the partner, I replaced it with the FortiClient VPN-only version.
Â
I currently connect using a command similar to:forticlient vpn connect vpn-profile -u users-vpn -p -w -a -s
The VPN connection can be established, but I am facing several issues and have some questions.
Â
Questions
- Impact from previously installed paid FortiClient
Since I previously installed the paid FortiClient version 7.2, could it still affect my machine even though I have replaced it with FortiClient VPN-only 7.4?
Is there any recommended way to verify that the paid edition has been fully removed and that only the VPN-only edition is currently being used? - License requirement for FortiClient VPN-only
Does the FortiClient VPN-only package require any license for SSL VPN or IPsec VPN usage on Linux?
My use case is only to connect to the partner’s VPN, without EMS, ZTNA, endpoint protection, or other paid features. - No internet / external network access after VPN connects
After the VPN is connected, my server can only reach the partner’s IP/network. Other external destinations outside the partner network cannot be reached.
Is this expected behavior caused by full-tunnel routing or DNS changes pushed by the VPN?
Is there any way to keep access to non-partner networks while still connected to the partner VPN, for example using split tunneling or route adjustments on the client side? - Cannot run sudo su after VPN connects
After the VPN connection is established, I cannot run:sudo su
Is this related to DNS, PAM, routing, hostname resolution, or something changed by FortiClient after the VPN is connected?
What should I check to troubleshoot this issue? - VPN disconnects unexpectedly
Sometimes the VPN disconnects suddenly even though I am using the command with options intended to keep the connection alive.
Is there a recommended way on Ubuntu Server without GUI to make FortiClient VPN reconnect automatically?
Also, is there a secure way to reconnect automatically without manually entering the password each time? - Partner visibility and access to my machine
After my server is connected to the partner’s VPN, what can the partner potentially see or do against my machine?
For example, can they see only my VPN-assigned IP and traffic to their network, or can they also scan/access services running on my Ubuntu server?
What security precautions should I apply on my Ubuntu server before connecting it to a partner VPN?
Â
Additional context
My main goal is simple: I only need this Ubuntu server to connect reliably to the partner’s network through Fortinet VPN, while still keeping normal server access and minimizing security risk.
Any guidance, best practices, or troubleshooting steps would be appreciated.
Â
Thank you.
