All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eljas Alakulppi" <Buzer@buzer.net>
To: "Gustavo L. P. dos Santos" <gustavo.santos@inep.gov.br>,
	netfilter@lists.netfilter.org
Subject: Re: NAT 1:N
Date: Fri, 29 Jun 2007 23:19:02 +0300	[thread overview]
Message-ID: <op.tuo9d0w0rtqp7s@hagumi> (raw)
In-Reply-To: <A9413ED3DA1D5A47ADDF30EC379CEDA207670E@inepmail.inep.gov.br>

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.santos@inep.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.santos@inep.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.
>




  reply	other threads:[~2007-06-29 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-29 20:01 NAT 1:N Gustavo L. P. dos Santos
2007-06-29 20:19 ` Eljas Alakulppi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-06-29 20:29 RES: " Gustavo L. P. dos Santos
2007-06-29 20:33 ` Ric Messier
2007-06-30  7:54   ` Ivan Dubrov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tuo9d0w0rtqp7s@hagumi \
    --to=buzer@buzer.net \
    --cc=gustavo.santos@inep.gov.br \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.