I'm trying to make a connection to a VPN via the forticlient CLI in Ubuntu, but I'm not able to make it work, can someone point me to the right direction.
I'm running the following command:
/opt/forticlient/forticlient-cli epctrl register destination_ip -p port
As stated here CLI support for FortiClient (Linux) | FortiClient 6.2.0 (fortinet.com).
But it always gives me the following output in the logs:
I would appreciate any help!
Go to Solution.
For anyone using a VPN under CI/CD with this problem, you can use this software adrienverge/openfortivpn: Client for PPP+SSL VPN tunnel services (github.com), It helped me connect to the VPN and make my operations in the machine.
To run a command to connect and let it in the background:
View solution in original post
What FortiGate model and version do you use?
You can check Compatibility Chart.
I guess you need to try new version , if your fortios is 6.4 or leter.#note I don't know newer version are support cli mode or not.
Thanks for your reply @earthlab, I'm sorry for the delay. I figured it out using a software like openfortivpn (adrienverge/openfortivpn: Client for PPP+SSL VPN tunnel services (github.com))
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2023 Fortinet, Inc. All Rights Reserved.