<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://www.guilde.asso.fr/wiki/index.php?action=history&amp;feed=atom&amp;title=Configuration_VPN_R%C3%A9zine</id>
	<title>Configuration VPN Rézine - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://www.guilde.asso.fr/wiki/index.php?action=history&amp;feed=atom&amp;title=Configuration_VPN_R%C3%A9zine"/>
	<link rel="alternate" type="text/html" href="https://www.guilde.asso.fr/wiki/index.php?title=Configuration_VPN_R%C3%A9zine&amp;action=history"/>
	<updated>2026-05-01T01:37:43Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.guilde.asso.fr/wiki/index.php?title=Configuration_VPN_R%C3%A9zine&amp;diff=7153&amp;oldid=prev</id>
		<title>Fernando le 9 septembre 2023 à 14:17</title>
		<link rel="alternate" type="text/html" href="https://www.guilde.asso.fr/wiki/index.php?title=Configuration_VPN_R%C3%A9zine&amp;diff=7153&amp;oldid=prev"/>
		<updated>2023-09-09T14:17:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 9 septembre 2023 à 16:17&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Ligne 5 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 5 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Pré-requis ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Pré-requis ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Avoir configuré et vérifié le bon fonctionnement du [https://www.rezine.org/ressources/guides/openvpn/#index3h1 VPN Rézine] avec la ligne de commande.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;Avoir configuré et vérifié le bon fonctionnement du [https://www.rezine.org/ressources/guides/openvpn/#index3h1 VPN Rézine] avec la ligne de commande.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Un accès au serveur, soit physique, soit par rebond réseau: cette mise en place va couper le tunnel VPN.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;Un accès au serveur, soit physique, soit par rebond réseau: cette mise en place va couper le tunnel VPN&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Si un service systemd est déjà en place pour faire fonctionner le VPN, l&#039;arrêter, le désactiver et supprimer tout ce qui le concerne&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Lancement du VPN au démarrage du serveur ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Lancement du VPN au démarrage du serveur ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb-mw:diff:1.41:old-7146:rev-7153:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Fernando</name></author>
	</entry>
	<entry>
		<id>https://www.guilde.asso.fr/wiki/index.php?title=Configuration_VPN_R%C3%A9zine&amp;diff=7146&amp;oldid=prev</id>
		<title>Fernando : Configuration du VPN sur le serveur</title>
		<link rel="alternate" type="text/html" href="https://www.guilde.asso.fr/wiki/index.php?title=Configuration_VPN_R%C3%A9zine&amp;diff=7146&amp;oldid=prev"/>
		<updated>2023-05-14T09:00:25Z</updated>

		<summary type="html">&lt;p&gt;Configuration du VPN sur le serveur&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Configuration VPN Rézine =&lt;br /&gt;
&lt;br /&gt;
Cette page indique comment est configuré le tunnel OpenVPN du serveur de la Guilde.&lt;br /&gt;
&lt;br /&gt;
== Pré-requis ==&lt;br /&gt;
&lt;br /&gt;
Avoir configuré et vérifié le bon fonctionnement du [https://www.rezine.org/ressources/guides/openvpn/#index3h1 VPN Rézine] avec la ligne de commande.&lt;br /&gt;
Un accès au serveur, soit physique, soit par rebond réseau: cette mise en place va couper le tunnel VPN.&lt;br /&gt;
&lt;br /&gt;
== Lancement du VPN au démarrage du serveur ==&lt;br /&gt;
&lt;br /&gt;
On configure un service systemd pour lancer le tunnel VPN:&lt;br /&gt;
&lt;br /&gt;
# Créer le fichier /etc/openvpn/client/vpn_id contant 2 lignes: l&amp;#039;authentifiant puis le mot de passe de [https://ambre.rezine.org/ l&amp;#039;abonnement VPN]&lt;br /&gt;
# Créer le fichier /etc/openvpn/client/rezine.conf avec le contenu suivant: [[Fichier:Rezine.conf.txt|alt=configuration du VPN Rezine|configuration du VPN Rezine]]&lt;br /&gt;
# on active le service au démarrage et on le lance dès maintenant avec la commande suivante&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable --now openvpn-client@rezine&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Le tunnel VPN doit alors être établi.&lt;br /&gt;
&lt;br /&gt;
== vpnwatch: Relancement du VPN en cas de coupure ==&lt;br /&gt;
&lt;br /&gt;
On configure un service pour relancer le VPN en cas de coupure et un timer pour lancer ce service toutes les heures.&lt;br /&gt;
&lt;br /&gt;
=== Configuration du service vpnwatch ===&lt;br /&gt;
&lt;br /&gt;
# Créer le fichier /etc/systemd/system/vpnwatch.service avec le contenu suivant: [[Fichier:Vpnwatch service.txt|vignette|alt=vpnwatch.service|Service pour relancer le vpn du serveur]]&lt;br /&gt;
# recharger la configuration systemd avec la commande suivante:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl daemon-reload&amp;lt;/pre&amp;gt;&lt;br /&gt;
# on active le service au démarrage avec la commande suivante&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable openvpn-client@rezine&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On vérifie que ça marche en coupant le VPN puis en lançant le service: systemctl restart vpnwatch.service&lt;br /&gt;
Le tunnel VPN doit alors être établi.&lt;br /&gt;
&lt;br /&gt;
=== Configuration du timer vpnwatch ===&lt;br /&gt;
&lt;br /&gt;
# Créer le fichier /etc/systemd/system/vpnwatch.timer avec le contenu suivant: [[Fichier:Vpnwatch.timer.txt|vignette|alt=vpnwatch.timer|Tâche automatique systemd pour lancer le service vpnwatch toute les heures]]&lt;br /&gt;
# recharger la configuration systemd avec la commande suivante:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl daemon-reload&amp;lt;/pre&amp;gt;&lt;br /&gt;
# on active le service au démarrage avec la commande suivante&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable openvpn-client@rezine&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On vérifie que ça marche en coupant le VPN puis en lançant le timer: systemctl start vpnwatch.timer&lt;br /&gt;
Le tunnel VPN doit alors s&amp;#039;établir (au plus tard au bout d&amp;#039;une heure).&lt;/div&gt;</summary>
		<author><name>Fernando</name></author>
	</entry>
</feed>