Bonjour,
je suis tenté de te donner du RTFM, mais nous sommes sur un forum et je vais t'aider.
Il faut donc qu'il y ait 2 interfaces connectées. (virtuelle ou physiques).
Et en fonction de ta distribution, il faut autoriser le forward des paquets. Chez Debian, cela se configure dans le fichier /etc/sysctl.conf
[fixed]
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1
# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1
Sinon echo 1 >/proc/sys/net/ipv4/ip_forward
[/fixed]
P.S: je te suggère de remplacer ton clavier. Il semblerait que certaines touches ne fonctionnent pas.