This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:vpn:motorizzazione [2017/06/13 06:36] – [systemd] scipio | tips:vpn:motorizzazione [2019/03/19 15:52] (current) – [configuration] scipio | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| ===== openconnect ===== | ===== openconnect ===== | ||
| + | |||
| + | ==== package ==== | ||
| <code bash> | <code bash> | ||
| sudo apt install openconnect | sudo apt install openconnect | ||
| + | </ | ||
| + | |||
| + | ==== from source ==== | ||
| + | |||
| + | < | ||
| + | sudo apt-get install curl vpnc-scripts build-essential libssl-dev libxml2-dev liblz4-dev gettext | ||
| + | wget ftp:// | ||
| + | tar xzf openconnect-8.02.tar.gz | ||
| + | cd openconnect-8.02 | ||
| + | ./configure --without-gnutls --with-vpnc-script=/ | ||
| + | make | ||
| + | sudo make install-strip | ||
| + | sudo ldconfig / | ||
| + | </ | ||
| + | |||
| + | ==== configuration ==== | ||
| + | |||
| + | test credentials with browser on https:// | ||
| + | |||
| + | get server fingerprint with | ||
| + | < | ||
| + | openconnect --authenticate https:// | ||
| </ | </ | ||
| Line 28: | Line 52: | ||
| user=COMxxx | user=COMxxx | ||
| password=yyy | password=yyy | ||
| - | url=https:// | + | url=https:// |
| servercert=sha256: | servercert=sha256: | ||
| </ | </ | ||