yuezk / GlobalProtect-openconnect

A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, and client certificate authentication, etc.
GNU General Public License v3.0
1.23k stars 142 forks source link

How to connect using gclient CLI #388

Closed gserci closed 1 week ago

gserci commented 2 weeks ago

Hi, I've tried connecting on VPN using GUI version of gpclient and it works correctly, but I don't understand how to connect using CLI version. My data are: portal: vpn.example.it gateway: vpn6.example.it group: GPG-IPSEC-RTSC shared key: VPNExample!

How can I put these inputs on the terminal?

Thank you.

yuezk commented 2 weeks ago

Try sudo gpclient connect <portal> and see what happens.

gserci commented 1 week ago

Try sudo gpclient connect <portal> and see what happens.

Thank you, it works! ☺️