From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rimas" Subject: MASQUERADE for 2 Internet connections Date: Mon, 9 Sep 2002 12:56:06 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <005a01c257f7$e2e51dc0$6e69690a@rimas> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0057_01C25800.4324E190" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0057_01C25800.4324E190 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi folks, I have configured NAT for 1 Inet connection :=20 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 ------=_NextPart_000_0057_01C25800.4324E190 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi folks,
 
I have configured NAT for 1 Inet = connection :=20
iptables -t nat -A POSTROUTING = -o eth0 -j=20 MASQUERADE - working solution
 
I use 10.105.105.x internal IP=20 addresing
 
Now I have a second one Inet connection = (eth2).
 
How to make MASQUERADE like = this:
1st Inet - MASQUERADE for=20 10.105.105.100-105
2nd Inet - MASQUERADE for 10.105.105.xx = for all=20 except 100-105
 
Basicly to use the same IP addresing = for both Inet=20 connections
 
 
 
Thanks in advance
 
Rimas
 
------=_NextPart_000_0057_01C25800.4324E190--