Tutoriel en français expliquant comment installer et configurer un routeur virtuel semblable à un matériel Cisco grace à la distribution Vyos.

Mon serveur Discord :
https://discord.gg/V6j5rnr

Le lien de téléchargement de l’iso de Vyos :
https://downloads.vyos.io/?dir=rolling/current/amd64

Musique d’intro :
Titre: Mainstream Pop
Auteur: Bricks
Source: http://www.myspace.com/bricksof78
Licence: http://creativecommons.org/licenses/by-nc-nd/2.0/
Téléchargement (4MB): https://www.auboutdufil.com/index.php?id=312

Les commandes :

install image

conf
set interfaces ethernet eth0 description WAN
set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth1 description LAN
set interfaces ethernet eth1 address 10.10.10.1/24

set service dhcp-server shared-network-name dhcpproc authoritative
set service dhcp-server shared-network-name subnet 10.10.10.0/24 default-router 10.10.10.1
set service dhcp-server shared-network-name subnet 10.10.10.0/24 dns-server 10.10.10.1
set service dhcp-server shared-network-name subnet 10.10.10.0/24 range 0 start 10.10.10.10
set service dhcp-server shared-network-name subnet 10.10.10.0/24 range 0 stop 10.10.10.200

set nat source rule 99 description LAN-TO-WAN
set nat source rule 99 outbound-interface eth0
set nat source rule 99 source address 10.10.10.0/24
set nat source rule 99 translation address masquerade

commit
save