User Tools

Site Tools


ip_forwarding
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


ip_forwarding [2010/02/11 23:59] (current) – created ginko
Line 1: Line 1:
 +====== ip_forward ======
 +Permet d'activer l'ip forwarding sur une machine GNU/Linux. (Nécessite d'être root => sous Ubuntu (9.10), activer le vrai compte root en lui donnant un mot de passe (commande pw), puis passer en root grâce à la commande su)
 +<code bash>
 +#!/bin/bash
  
 +iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
 +echo 1 > /proc/sys/net/ipv4/ip_forward
 +</code>
ip_forwarding.txt · Last modified: 2010/02/11 23:59 by ginko