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

Re: [linux-team] percer une passerelle



On 22-Dec-2000 Henrion Benjamin wrote:
> Francois Dessart <fdessart@swing.be> [001222]:
>> 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
> 
> Et pour contacter ma machine qui se trouve a l'interieur du rezo, je
> dois taper quoi?
> 
> lftp ftp:// ???

tu tapes ftp://ip_externe et tu seras redirige vers le serveur interne...tout a
fait transparent


> 
> BNJ
> 
>> 
>> 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 ]
> 
> [ 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 :)         ]
[ To subscribe or unsubscribe, go to http://linuxbe.org/ml.php     ]
[ http://LinuxBe.org - http://OpenBe.net - listmaster@linuxbe.org  ]