All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rimas" <rmocius@auste.elnet.lt>
To: netfilter@lists.netfilter.org
Subject: MASQUERADE for 2 Internet connections
Date: Mon, 9 Sep 2002 12:56:06 +0100	[thread overview]
Message-ID: <005a01c257f7$e2e51dc0$6e69690a@rimas> (raw)

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

Hi folks,

I have configured NAT for 1 Inet connection : 
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE - working solution

I use 10.105.105.x internal IP addresing

Now I have a second one Inet connection (eth2).

How to make MASQUERADE like this:
1st Inet - MASQUERADE for 10.105.105.100-105
2nd Inet - MASQUERADE for 10.105.105.xx for all except 100-105

Basicly to use the same IP addresing for both Inet connections



Thanks in advance

Rimas

[-- Attachment #2: Type: text/html, Size: 1708 bytes --]

             reply	other threads:[~2002-09-09 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-09 11:56 Rimas [this message]
2002-09-09 12:16 ` MASQUERADE for 2 Internet connections Antony Stone
2002-09-09 13:53 ` Nikodim Nikodimov

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='005a01c257f7$e2e51dc0$6e69690a@rimas' \
    --to=rmocius@auste.elnet.lt \
    --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.