Découvrez les nouveautés de cette version : Fonctionnalités, améliorations et évolutions vous attendent ! 👉 Cliquez ici pour en savoir plus

Modifications pour le document Configuration Linux

Modifié par Stéphane Dugravot le 07/11/2024 - 13:16

Depuis la version 28.1
modifié par Stéphane Dugravot
sur 15/06/2022 - 17:20
Commentaire de modification : Il n'y a aucun commentaire pour cette version
À la version 19.1
modifié par Stéphane Dugravot
sur 17/01/2018 - 11:15
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -1,5 +1,7 @@
1 -\\
1 +
2 2  
3 +
4 +
3 3  {{confluence_section}}
4 4  {{confluence_column width="30%"}}
5 5  (% style="text-align: center;" %)
... ... @@ -15,7 +15,7 @@
15 15  {{/confluence_column}}
16 16  {{/confluence_section}}
17 17  
18 -\\
20 +
19 19  
20 20  = Configuration Linux (Ubuntu - Mint) =
21 21  
... ... @@ -31,24 +31,49 @@
31 31  
32 32  Network Manager, le logiciel qui gère les connexions réseaux que l'on trouve sous différentes distributions Linux (ici Ubuntu) sait gérer les connexions [[WiFi>>url:http://wikidocs.univ-lorraine.fr/display/WiFi/Configuration+Network+Manager||shape="rect"]] et VPN UHP. Pour la gestion du VPN, vous devez disposer bien sûr de Network Manager, mais aussi du client vpnc :
33 33  
34 -{{code language="bash" theme="Confluence"}}
35 -apt install vpnc network-manager-vpnc
36 +(((
37 +(% class="syntaxhighlighter nogutter java" %)
38 +(((
39 +
40 +
41 +|(((
42 +(% class="container" title="Hint: double-click to select code" %)
43 +(((
44 +(% class="line number1 index0 alt2" %)
45 +(((
46 +{{code language="none"}}
47 +> apt-get install vpnc
36 36  {{/code}}
49 +)))
50 +)))
51 +)))
37 37  
38 -Pour gnome, il faut ajouter
53 +
54 +)))
55 +)))
39 39  
40 -{{code language="bash" theme="Confluence"}}
41 -apt install network-manager-vpnc-gnome
42 -{{/code}}
57 +Et enfin, du plugin network-manager-vpnc :
43 43  
44 -{{error}}
45 -(% class="code" %)
46 46  (((
47 -Si vous venez d'installer les paquets précédents (vpnc, network-manager-vpnc, etc ...), alors vous devez redémarrer votre poste de travail !
60 +(% class="syntaxhighlighter nogutter java" %)
61 +(((
62 +
63 +
64 +|(((
65 +(% class="container" title="Hint: double-click to select code" %)
66 +(((
67 +(% class="line number1 index0 alt2" %)
68 +(((
69 +{{code language="none"}}
70 +> apt-get install network-manager-vpnc
71 +{{/code}}
48 48  )))
49 -{{/error}}
73 +)))
74 +)))
50 50  
51 -\\
76 +
77 +)))
78 +)))
52 52  
53 53  === Configuration ===
54 54  
... ... @@ -64,11 +64,19 @@
64 64  * Domaine : Ne rien y inscrire
65 65  * Méthode chiffrement : **//Sécurisé//**
66 66  * Traversée du NAT : **//UDP Cisco//**
67 -Dans l'onglet Paramètres IPv4, ne rien changer car l'adresse doit être attribuée automatiquement.
94 + Dans l'onglet Paramètres IPv4, ne rien changer car l'adresse doit être attribuée automatiquement.
68 68  
69 69  (% class="panelMacro" %)
70 70  (((
71 -\\
98 +
99 +
100 +{{error}}
101 +Si vous venez d'installer les paquets précédents (vpnc, network-manager-vpnc, etc ...), alors vous devez redémarrer votre poste de travail !
102 +
103 +
104 +{{/error}}
105 +
106 +
72 72  )))
73 73  
74 74  === Connexion ===
... ... @@ -90,7 +90,7 @@
90 90  
91 91  en allant le chercher sur le [[https:~~/~~/vpn.lothaire.net>>url:https://vpn.lothaire.net||shape="rect"]]
92 92  
93 -\\
128 +
94 94  
95 95  [[image:attach:VPN_Linux1.png||width="800" title="VPN_Linux1.png"]]
96 96  
... ... @@ -98,13 +98,13 @@
98 98  
99 99  [[image:attach:VPN_Linux2.png||title="VPN_Linux2.png"]]
100 100  
101 -\\
136 +
102 102  
103 103  Une fois le script récuperé, on install le produit :
104 104  
105 -\\
140 +
106 106  
107 -{{code language="bash" theme="RDark" title="install_anyconnect"}}
142 +{{code title="install_anyconnect" theme="RDark" language="bash"}}
108 108  xxxxxx@pcxxxxx ~/Téléchargements $ sudo sh vpnsetup_64b.sh
109 109  [sudo] password for xxxxxx:
110 110  Installing Cisco AnyConnect Secure Mobility Client...
... ... @@ -118,12 +118,8 @@
118 118  
119 119  {{/code}}
120 120  
121 -{{confluence_tip title="Remarque Linux MINT"}}
122 -pour les utilisateur de Linux MINT : Il est nécessaire d'installer la librairie **libpangox**
123 -{{/confluence_tip}}
156 +
124 124  
125 -\\
126 -
127 127  on doit rebooter sa machine, pour voir apparaître dans un menu l'application "Cisco Anyconnect Secure Mobility Client" :
128 128  
129 129  [[image:attach:VPN_Linux3.png||title="VPN_Linux3.png"]]
... ... @@ -147,10 +147,17 @@
147 147  
148 148  **NB : si on a ces erreurs "AnyConnect cannot confirm it is connected to your secure gateway.  The local network may not be trustworthy.  Please try another network."**
149 149  
150 -**c'est qu'il manque le certificat TERENA SSL CA, que l'on peut récupérer ici :**
181 +**c'est qu'il manque le certificat TERENA SSL CA**
151 151  
152 -* **[[attach:DigiCertCA.crt]]**
183 +
153 153  
185 +{{code}}
186 +cd /opt/.cisco/certificates/ca
187 +wget http://www.crium.univ-metz.fr/chaintcs.crt -o chaintcs.pem
188 +{{/code}}
189 +
190 +
191 +
154 154  === Fichier XML pour la configuration d'anyconnect ===
155 155  
156 156  Dans le cas ou il y a plusieurs concentrateur vpn à gérer.
... ... @@ -203,7 +203,7 @@
203 203  </AnyConnectProfile>
204 204  {{/code}}
205 205  
206 -\\
244 +
207 207  
208 208  == Via le package Openconnect en CLI ==
209 209  
... ... @@ -213,7 +213,7 @@
213 213  sudo apt-get install openconnect
214 214  {{/code}}
215 215  
216 -\\
254 +
217 217  
218 218  Commande :
219 219  
... ... @@ -221,29 +221,31 @@
221 221  sudo openconnect -u dugravot6@dn-infra --authgroup='Universite-de-Lorraine' --no-cert-check vpn.lothaire.net
222 222  {{/code}}
223 223  
224 -\\
262 +
225 225  
226 226  == Via le package Openconnect avec Network-Manager ==
227 227  
228 -On installe le package openconnect et les plugin network-manager-openconnect, network-manager-openconnect-gnome (fonctionne aussi avec linux mint 18.3 en cinnamon)
266 +On install le package openconnect et les plugin network-manager-openconnect, network-manager-openconnect-gnome
229 229  
230 -\\
268 +
231 231  
232 -{{code language="bash" theme="RDark" title="Openconnect"}}
270 +{{code title="Openconnect" theme="RDark" language="bash"}}
233 233  sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome
234 234  {{/code}}
235 235  
236 -Rebooter sa machine , on verra maintenant apparaître dans son module de gestion réseau/VPN un nouveau module "VPN Compatible Cisco Anyconnect ( openconnect)"
274 +
237 237  
238 -\\
276 +rebooter sa machine , on verra maintenant apparaître dans son module de gestion réseau/VPN un nouveau module "VPN Compatible Cisco Anyconnect ( openconnect)"
239 239  
278 +
279 +
240 240  [[image:attach:VPN_Linux6.png||title="VPN_Linux6.png"]]
241 241  
242 -\\
282 +
243 243  
244 244  [[image:attach:VPN_Linux7.png||title="VPN_Linux7.png"]]
245 245  
246 -\\
286 +
247 247  
248 248  créer , Renseigner uniquement le nomde la connexion et la passerelle
249 249  
... ... @@ -260,7 +260,7 @@
260 260  
261 261  cocher " Automatically start ....." et cliquer à coté du VPN host pour la connexion :
262 262  
263 -\\
303 +
264 264  
265 265  [[image:attach:VPN_Linux10.png||title="VPN_Linux10.png"]]
266 266  
... ... @@ -268,11 +268,11 @@
268 268  
269 269  [[image:attach:VPN_Linux11.png||title="VPN_Linux11.png"]]
270 270  
271 -\\
311 +
272 272  
273 273  puis loguer vous :
274 274  
275 -\\
315 +
276 276  
277 277  [[image:attach:VPN_Linux12.png||title="VPN_Linux12.png"]]
278 278  
... ... @@ -316,6 +316,4 @@
316 316  
317 317  Il faut modifier la conf du VPN comme ça :
318 318  
319 -[[image:attach:Capture d'écran de 2015-02-03 12 14 28.png||width="458"]]
320 -
321 -\\
359 +[[image:attach:Capture d'écran de 2015-02-03 12:14:28.png]]
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -427629936
1 +249138320