Salut, Sur tous les noyaux il y a ipmasqadm, avec le module portfw qui permet de faire ça. (par contre, je ne sais pas si ça existe encore sur les 2.4).
# Pour flusher la table de forwarding ipmasqadm portfw -f # Pour forwarder le port 80 de la machine 'WWW' vers l'interface 'eth1' du routeur ipmasqadm portfw -a -P tcp -L 10.10.10.20 80 -R 192.168.10.2 80 # Pour lister la table de forwarding ipmasqadm portfw -l Il y a biensur un ipmasqadm portfw --help qui est bien fait et suffisamment clair. Le Wed, May 30, 2001 at 10:14:02PM +0200, JF Ghislain dixit: JFG> > Avec quel noyau? JFG> c'est un 2.2.18 le firewall avec ipchains JFG> > > JFG> > > Internet JFG> > > | JFG> > > | eth1 JFG> > > ---------------- JFG> > > | 10.10.10.20 | JFG> > > | | JFG> > > | Coyote ;o) | JFG> > > | | JFG> > > | 192.168.10.1 | JFG> > > ---------------- JFG> > > | eth0 JFG> > > | Réseau local JFG> > > ------------------------------------------------------ JFG> > > | | | JFG> > > | | | JFG> > > ---------------- ----- ----- JFG> > > | 192.168.10.2 | | | | | JFG> > > | | | | | | JFG> > > | WWW | | | | | JFG> > > ---------------- ----- ----- JFG> > > JFG> > > -- JFG> > > if windows is the answer, it must have been a stupid question. 42 -- Guyzmo Linux-Azur : http://www.linux-azur.org Désinscriptions: http://www.linux-azur.org/liste.php3 **** Pas de message au format HTML, SVP ****