Table des matières

Installation et utilisation du VPN

Le VPN de l'association ILArd est ouvert à tous les membres de l'association ILArd ainsi qu'à ceux des associations partenaires (Marcasserie, Ma Ville à Vélo).

Il est basé sur le logiciel libre EduVPN/Let's Connect porté par GéANT et Renater.

Le VPN permet de:

Installation

Cliquez ici si vous n’utilisez pas une distribution de type Debian ou dérivée.

Utilisez la procédure suivante pour installer le client VPN «Let's Connect» sur les distributions Debian et dérivées (Ubuntu, Mint, LMDE):

sudo apt install wget
wget -O install-letsconnect_debian.sh "https://wiki.ilard.fr/doku.php?do=export_code&id=public:installation_et_utilisation_du_vpn&codeblock=1&codeblock=1"
bash install-letsconnect_debian.sh

Configuration

Utilisation

Script d'installation

install-letsconnect_debian.sh
#!/bin/sh
 
set -e
 
ARCH="$(uname -m)"
 
if [ ! "$ARCH" = "x86_64" ] && [ ! "$ARCH" = "amd64" ]; then
    printf "Your architecture: %s, is not supported.
Your architecture might, however, be supported by the Pip package. You may try the following instructions: https://docs.eduvpn.org/client/linux/installation.html#pip-installation" "$ARCH"
    exit 1
fi
 
. "/etc/os-release"
 
install_deb() {
    set -x
    sudo apt-get update
    # Make sure https apt transport is possible and curl is available
    # curl might not be available if the script is downloaded manually
    sudo apt-get install apt-transport-https curl
    curl -sSf https://app.eduvpn.org/linux/v4/deb/app+linux@eduvpn.org.asc | gpg --dearmor | sudo tee /usr/share/keyrings/eduvpn-v4.gpg >/dev/null
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/eduvpn-v4.gpg] https://app.eduvpn.org/linux/v4/deb/ $1 main" | sudo tee /etc/apt/sources.list.d/eduvpn-v4.list
    sudo apt-get update
    sudo apt-get install letsconnect-client
    exit 0
}
 
case $VERSION_CODENAME in
 
    # Debian & Ubuntu
    "focal" | "jammy" | "noble" | "oracular" | "bullseye" | "bookworm")
	install_deb "$VERSION_CODENAME"
	;;
 
    # For linux mint we need to do some redirections to ubuntu codenames
    # See https://linuxmint.com/download_all.php
    # redirect linux mint 20.x codenames to focal
    "ulyana" | "ulyssa" | "uma" | "una")
	install_deb "focal"
	;;
 
    # redirect linux mint 21.x codenames to jammy
    "vanessa" | "vera" | "victoria")
	install_deb "jammy"
	;;
 
    # redirect linux mint 22.x codenames to noble
    "wilma")
	install_deb "noble"
	;;
 
    # LMDE 5 (Mint / Debian 11)
    "elsie")
    install_deb "bullseye"
    ;;
 
    # LMDE 6 (Mint /Debian 12)
    "faye")
    install_deb "bookworm"
    ;;
 
esac