List Info

Thread: NAT 1:N




NAT 1:N
country flaguser name
Brazil
2007-06-29 15:01:41
Hi,

	I´m new on the list, so don´t get mad if my question was
posted before. I need some help to configure a NAT 1:N with
iptables. I need some examples of the syntax to implement
this.

	Here is the solution, that i want to implement: I have two
machines in my LAN, that i want to be visible on the
Internet using only one valid IP.

	Sorry for the bad english.

Cheers,

-------------------------------------------------
 ,= ,-_-. =.  Gustavo Lima Peres dos Santos
(( /)0 0(_)) Security Analyst - INEP 
 `-'(. .)`-'  <gustavo.santosinep.gov.br>
     _/      Tel.: +55-61-2104-7684/9080
-------------------------------------------------

Esta mensagem eletrônica pode conter informações
privilegiadas e/ou confidenciais, portanto fica o seu
receptor notificado de que qualquer disseminação,
distribuição ou cópia não autorizada é estritamente
proibida. Se você recebeu esta mensagem indevidamente ou por
engano, por favor, informe este fato ao remetente e a apague
de seu computador imediatamente.

This e-mail message may contain legally privileged and/or
confidential information, therefore, the recipient is hereby
notified that any unauthorized dissemination, distribution
or copying is strictly prohibited. If you have received this
e-mail message inappropriately or accidentally, please
notify the sender and delete it from your computer
immediately. 


Re: NAT 1:N
country flaguser name
Sweden
2007-06-29 15:19:02
FIRST I RECOMEND YOU TO READ SOME BASIC DOCUMENTATION ABOUT
IPTABLES (THIS  
IS COVERED IN ABOUT EVERY IPTABLES HOWTO). ANYWAY, THE
COMMAND IS (OF  
COURSE, MAKE SURE YOU HAVE THE REQUIRED MODULES
LOADED/COMPILED IN KERNEL):
IPTABLES -T NAT -A POSTROUTING -O $EXTIF -J MASQUERADE

GUSTAVO L. P. DOS SANTOS <GUSTAVO.SANTOSINEP.GOV.BR> KIRJOITTI FRI, 29  
JUN 2007 23:01:41 +0300:

> HI,
>
> 	I´M NEW ON THE LIST, SO DON´T GET MAD IF MY QUESTION
WAS POSTED BEFORE.  
> I NEED SOME HELP TO CONFIGURE A NAT 1:N WITH IPTABLES.
I NEED SOME  
> EXAMPLES OF THE SYNTAX TO IMPLEMENT THIS.
>
> 	HERE IS THE SOLUTION, THAT I WANT TO IMPLEMENT: I HAVE
TWO MACHINES IN  
> MY LAN, THAT I WANT TO BE VISIBLE ON THE INTERNET USING
ONLY ONE VALID  
> IP.
>
> 	SORRY FOR THE BAD ENGLISH.
>
> CHEERS,
>
> -------------------------------------------------
>  ,= ,-_-. =.  GUSTAVO LIMA PERES DOS SANTOS
> (( /)0 0(_)) SECURITY ANALYST - INEP
>  `-'(. .)`-'  <GUSTAVO.SANTOSINEP.GOV.BR>
>      _/      TEL.: +55-61-2104-7684/9080
> -------------------------------------------------
>
> ESTA MENSAGEM ELETRôNICA PODE CONTER INFORMAçÜES
PRIVILEGIADAS E/OU  
> CONFIDENCIAIS, PORTANTO FICA O SEU RECEPTOR NOTIFICADO
DE QUE QUALQUER  
> DISSEMINAçãO, DISTRIBUIçãO OU CóPIA NãO AUTORIZADA é
ESTRITAMENTE  
> PROIBIDA. SE VOCê RECEBEU ESTA MENSAGEM INDEVIDAMENTE
OU POR ENGANO, POR  
> FAVOR, INFORME ESTE FATO AO REMETENTE E A APAGUE DE SEU
COMPUTADOR  
> IMEDIATAMENTE.
>
> THIS E-MAIL MESSAGE MAY CONTAIN LEGALLY PRIVILEGED
AND/OR CONFIDENTIAL  
> INFORMATION, THEREFORE, THE RECIPIENT IS HEREBY
NOTIFIED THAT ANY  
> UNAUTHORIZED DISSEMINATION, DISTRIBUTION OR COPYING IS
STRICTLY  
> PROHIBITED. IF YOU HAVE RECEIVED THIS E-MAIL MESSAGE
INAPPROPRIATELY OR  
> ACCIDENTALLY, PLEASE NOTIFY THE SENDER AND DELETE IT
FROM YOUR COMPUTER  
> IMMEDIATELY.
>




[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )