12
1 Un VPN, pourquoi ? Comment ? HAUMTalks 8 janvier 2016 Romain Porte (@MicroJoe_)

Un VPN, pourquoi ? Comment

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Un VPN, pourquoi ? Comment

1

Un VPN, pourquoi ? Comment ?

HAUMTalks8 janvier 2016

Romain Porte (@MicroJoe_)

Page 2: Un VPN, pourquoi ? Comment

2

Pourquoi utiliser un VPN ?

Page 3: Un VPN, pourquoi ? Comment

3

Topologie classique

1.2.3.4Box FAI

2.3.4.5Machine itinérante

192.168.1.10PC Fixe

192.168.1.11PC Portable

192.168.1.12Serveur

Page 4: Un VPN, pourquoi ? Comment

4

VPN

10.1.0.10Le Mans

10.1.0.11Paris

10.1.0.12Tokyo

10.1.0.1Paris

Page 5: Un VPN, pourquoi ? Comment

5

Utilisations

● Pas d'IP fixe par machine● Accès à toutes ses machines à la maison sans

faire de NAT● Redirection du traffic par le VPN● Exposition de services uniquement sur le VPN

et pas sur Internet

Page 6: Un VPN, pourquoi ? Comment

6

Petit bilan

● Points forts– Sécurisé (SSL/TLS)

– Possibilité de cacher tout son traffic

– Possibilité de passer par des ports alternatifs

● Points faibles– Mise en place initiale

– Connexion moins rapide que sur un réseau local

Page 7: Un VPN, pourquoi ? Comment

7

Comment utiliser un VPN ?

Page 8: Un VPN, pourquoi ? Comment

8

Différents services

● Hébergement manuel (IP fixe requise)● Fournisseur associatif (FAI Maison, …)● Fournisseur privé (attention au gratuit)

Page 9: Un VPN, pourquoi ? Comment

9

OpenVPN

● Logiciel libre (GPL)● Bien supporté sur les distributions GNU/Linux

Page 10: Un VPN, pourquoi ? Comment

10

Pas à pas

● Créer certificat serveur● Créer un certificat par client + le signer avec celui

du serveur● Configuration du serveur● Configuration du client● Copie des certificats et de la config sur chaque

client● GO

Page 11: Un VPN, pourquoi ? Comment

11

Démo live

● Si on a Internet…

Page 12: Un VPN, pourquoi ? Comment

12

Merci ! Questions ?