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

RE: [linux-team] redirection vers machine locale



Si tu utilises ipchains (kernel 2.2), il te faut le petit utilitaire "ipmasqadm"

Ensuite dans tes regles de ipchains tu mets:

/sbin/ipchains -I input -p tcp -y -s 0/0 -d 0/0 80 -m 1
/usr/sbin/ipmasqadm mfw -I -m 1 -r 192.168.1.10 80

et voila. pour des explications sur les parametres, lis les man pages.

Francois. 

On 17-Oct-2000 vincent.louviaux@belgacom.be wrote:
> Bonjour
> 
> j ai une petite machine qui fait du masquarade
> et je voudrai que tout ce qui rentre sur le port 80 soit redirigé vers une
> machine locale specific
> Je penses qu il faut installer un software specifique (socks ?)
> Pouvez vous me guider dans mes recherches ?
> 
> merci d'avance 
> 
> 
> 
> 
> 
> 
>                   _________           ___________
>    _/\__/\_      |         |         |           |
>   |        |     |         |         | Postes de |
>  / Internet \----| MASQ    |--(HUB)--|  travail  |
>  \_  _  _  _/    |_________|    |    |192.168.1.5|
>    \/ \/ \/                     |    |___________|
>                                 |
>                                 |     ____________
>                                 |    |            |
>                                 |----|  serveur   |
>                                      |  web       |
>                                      |192.168.1.10|
>                                      |____________|
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> **** DISCLAIMER **** 
> "This e-mail and any attachments thereto may contain information 
> which is confidential and/or protected by intellectual property 
> rights and are intended for the sole use of the recipient(s) named above. 
> Any use of the information contained herein (including, but not limited to, 
> total or partial reproduction, communication or distribution in any form) 
> by persons other than the designated recipient(s) is prohibited. 
> If you have received this e-mail in error, please notify the sender either 
> by telephone or by e-mail and delete the material from any computer. 
> Thank you for your cooperation."
> 
> --------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.

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


--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/