Hi, recently i started an application on linux that i need to use a database on another network, so, i have to use a VPN to connect in this database.
When i run the command 'fortclient vpn view' i got the following message:
Client Certificate: None
Authentication: Disabled
Single Sign On (SSO) for VPN Tunnel: Disabled
Auto Connect: Disabled
Always Up: Disabled
Save Password: Disabled
How do i enable the option Always Up and Auto Connect?
the command 'forticlient vpn edit' don't give me this options.
Sorry for my bad english
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.
Hello @rafaelbrsjtt ,
You can enable with this command always-up feature. But you can't activate the auto-connect feature on Linux. Because the Linux client can't save your password.
/opt/forticlient/fortivpn connect <my_vpn_name> --user=<username> --password --save-password --always-up
Also if you want to get more information about Linux client commands, you can review this document.
And I found one more thing. Someone wrote a script about automating ssl-vpn connection on Linux. I haven't try before but maybe it works for you.
https://gist.github.com/mgeeky/8afc0e32b8b97fd6f96fce6098615a93
Hello @rafaelbrsjtt ,
You can enable with this command always-up feature. But you can't activate the auto-connect feature on Linux. Because the Linux client can't save your password.
/opt/forticlient/fortivpn connect <my_vpn_name> --user=<username> --password --save-password --always-up
Also if you want to get more information about Linux client commands, you can review this document.
And I found one more thing. Someone wrote a script about automating ssl-vpn connection on Linux. I haven't try before but maybe it works for you.
https://gist.github.com/mgeeky/8afc0e32b8b97fd6f96fce6098615a93
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 |
---|---|
1711 | |
1093 | |
752 | |
447 | |
231 |
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.