Hey guys,
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!
Thanks!
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
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:
Hi @vribeiro
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))
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:
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1732 | |
1106 | |
752 | |
447 | |
240 |
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 2024 Fortinet, Inc. All Rights Reserved.