All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nikodim Nikodimov" <nick@riskeng.bg>
To: netfilter@lists.netfilter.org
Subject: Re: MASQUERADE for 2 Internet connections
Date: Mon, 9 Sep 2002 16:53:38 +0300	[thread overview]
Message-ID: <00d101c25808$4c867ca0$37d2a8c0@nikodimov> (raw)
In-Reply-To: 005a01c257f7$e2e51dc0$6e69690a@rimas

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

Why you don't maquerade the hole net?

 iptables -A POSTROUTING -t nat -s 10.105.105.0/24 -d 0.0.0.0/0.0.0.0 -o eth0 -j MASQUERADE

----- Original Message ----- 
  From: Rimas 
  To: netfilter@lists.netfilter.org 
  Sent: Monday, September 09, 2002 2:56 PM
  Subject: MASQUERADE for 2 Internet connections


  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: 2821 bytes --]

      parent reply	other threads:[~2002-09-09 13:53 UTC|newest]

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

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='00d101c25808$4c867ca0$37d2a8c0@nikodimov' \
    --to=nick@riskeng.bg \
    --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.