[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] percer une passerelle



Salut BNJ,

dans tes regles ipchains:

/sbin/ipchains -I input -p tcp -s 0/0 -d 0/0 21 -m 1
/usr/sbin/ipmasqadm mfw -I -m 1 -r 192.168.0.6 21

la premiere ligne marque le paquet ("-m 1")
la deuxieme redirige ce paquet vers 192.168.0.6 port 21

tu fais ca pour n'importe quel port. en changeant le -m 1 en -m 2 ,..

Bonne fetes a toi.


Francois


On 22-Dec-2000 Claudio wrote:
> 
> Jette un coup d'oeil à stunnel.
> 
> On Wed, 20 Dec 2000, Henrion Benjamin wrote:
> 
>> Comment passer au travers d'une passerelle (routeur) linux qui fait de
>> l'ipfw?
>> 
>> BNJ
>> 
>> [ linux-team@rtfm.be and linux@lists.linuxbe.org in ONE :)         ]
>> [ If you want to be deleted from the list, send a mail to          ]
>> [ majordomo@lists.linuxbe.org with "signoff linux" in the body.    ]
>> [ http://LinuxBe.Org                   Contact: niddle@linuxbe.org ]
>> 
> 
> 
> [ linux-team@rtfm.be and linux@lists.linuxbe.org in ONE :)         ]
> [ If you want to be deleted from the list, send a mail to          ]
> [ majordomo@lists.linuxbe.org with "signoff linux" in the body.    ]
> [ http://LinuxBe.Org                   Contact: niddle@linuxbe.org ]

------------------------------------
DESSART Francois
<francois@linuxbe.org>
------------------------------------



[ linux-team@rtfm.be and linux@lists.linuxbe.org in ONE :)         ]
[ If you want to be deleted from the list, send a mail to          ]
[ majordomo@lists.linuxbe.org with "signoff linux" in the body.    ]
[ http://LinuxBe.Org                   Contact: niddle@linuxbe.org ]