From mboxrd@z Thu Jan 1 00:00:00 1970 From: "HTB" Subject: Are IP ALIASES supported by iptables? Date: Tue, 29 Jul 2003 12:06:14 +0700 Sender: netfilter-admin@lists.netfilter.org Message-ID: <008301c3558f$22b075e0$080a0a0a@medannic> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0080_01C355C9.CEDFB260" 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_0080_01C355C9.CEDFB260 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable When i want to active nat using iptable on eth0:0 (aliasing) "error = appear" # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 = -o eth0:0 Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *). Are IP ALIASES supported by iptables? regards HTB ------=_NextPart_000_0080_01C355C9.CEDFB260 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
When i want to active nat using iptable = on eth0:0=20 (aliasing) "error appear"
# /sbin/iptables -A POSTROUTING -j = MASQUERADE -t=20 nat -s 192.168.0.0/24 -o eth0:0
Warning: wierd character in interface = `eth0:0' (No aliases, :, ! or *).
 

Are IP ALIASES supported by iptables?

 

regards

HTB

------=_NextPart_000_0080_01C355C9.CEDFB260-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Louie Miranda" Subject: Re: Are IP ALIASES supported by iptables? Date: Tue, 29 Jul 2003 13:18:06 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <00c401c35590$cd0c8ff0$020119ac@ADMWEBDEVWS> References: <008301c3558f$22b075e0$080a0a0a@medannic> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BF_01C355D3.D8F85680" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: HTB , netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_00BF_01C355D3.D8F85680 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi, it must be Is your Kernel compiled with IP Aliasing? Yes, Iptables support ip aliasing. -- Thank you, Louie Miranda (louie@axishift.ath.cx) ----- Original Message -----=20 From: HTB=20 To: netfilter@lists.netfilter.org=20 Sent: Tuesday, July 29, 2003 1:06 PM Subject: Are IP ALIASES supported by iptables? When i want to active nat using iptable on eth0:0 (aliasing) "error = appear" # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 = -o eth0:0 Warning: wierd character in interface `eth0:0' (No aliases, :, ! or = *). Are IP ALIASES supported by iptables? regards HTB ------=_NextPart_000_00BF_01C355D3.D8F85680 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi, it must be Is your Kernel compiled with IP Aliasing?
Yes, Iptables support ip aliasing.

--
Thank = you,
Louie=20 Miranda (louie@axishift.ath.cx)
 

 
----- Original Message -----
From:=20 HTB=20
To: netfilter@lists.netfilter.o= rg=20
Sent: Tuesday, July 29, 2003 = 1:06=20 PM
Subject: Are IP ALIASES = supported by=20 iptables?

When i want to active nat using = iptable on eth0:0=20 (aliasing) "error appear"
# /sbin/iptables -A POSTROUTING -j = MASQUERADE -t=20 nat -s 192.168.0.0/24 -o eth0:0
Warning: wierd character in = interface=20 `eth0:0' (No aliases, :, ! or *).
 

Are IP ALIASES supported by iptables?

 

regards

HTB

------=_NextPart_000_00BF_01C355D3.D8F85680-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Chemko Subject: Re: Are IP ALIASES supported by iptables? Date: Mon, 28 Jul 2003 22:20:21 -0700 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3F260415.2030200@smgtec.com> References: <008301c3558f$22b075e0$080a0a0a@medannic> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <008301c3558f$22b075e0$080a0a0a@medannic> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: HTB Cc: netfilter@lists.netfilter.org nope. IP Aliases are depreciated, baby! HTB wrote: > When i want to active nat using iptable on eth0:0 (aliasing) "error > appear" > # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 > -o eth0:0 > Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *). > > > Are IP ALIASES supported by iptables? > > > > regards > > HTB > From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Louie Miranda" Subject: Re: Are IP ALIASES supported by iptables? Date: Tue, 29 Jul 2003 14:03:01 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <017101c35597$13603280$020119ac@ADMWEBDEVWS> References: <008301c3558f$22b075e0$080a0a0a@medannic> <00c401c35590$cd0c8ff0$020119ac@ADMWEBDEVWS> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: HTB , netfilter@lists.netfilter.org Oh, wait i've read it wrong.. sorry.. -- Thank you, Louie Miranda (louie@axishift.ath.cx) ----- Original Message ----- From: Louie Miranda To: HTB ; netfilter@lists.netfilter.org Sent: Tuesday, July 29, 2003 1:18 PM Subject: Re: Are IP ALIASES supported by iptables? Hi, it must be Is your Kernel compiled with IP Aliasing? Yes, Iptables support ip aliasing. -- Thank you, Louie Miranda (louie@axishift.ath.cx) ----- Original Message ----- From: HTB To: netfilter@lists.netfilter.org Sent: Tuesday, July 29, 2003 1:06 PM Subject: Are IP ALIASES supported by iptables? When i want to active nat using iptable on eth0:0 (aliasing) "error appear" # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 -o eth0:0 Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *). Are IP ALIASES supported by iptables? regards HTB From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Szabo Nandor" Subject: Re: Are IP ALIASES supported by iptables? Date: Tue, 29 Jul 2003 08:54:29 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20030729065429.3133.qmail@mail.panaphone.hu> References: <008301c3558f$22b075e0$080a0a0a@medannic> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <008301c3558f$22b075e0$080a0a0a@medannic> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; format="flowed"; charset="us-ascii" To: netfilter@lists.netfilter.org HTB writes: > When i want to active nat using iptable on eth0:0 (aliasing) "error > appear" > # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 -o > eth0:0 > Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *). If eth0:0 has FIX IP address, you should try SNAT: # iptables -A POSTROUTING -t nat -s 192.168.0.0/24 -j SNAT --to IP_of_eth0:0 Nandor Szabo From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven-Haegar Koch Subject: Re: Are IP ALIASES supported by iptables? Date: Tue, 29 Jul 2003 11:39:18 +0200 (CEST) Sender: netfilter-admin@lists.netfilter.org Message-ID: References: <008301c3558f$22b075e0$080a0a0a@medannic> Mime-Version: 1.0 Return-path: In-Reply-To: <008301c3558f$22b075e0$080a0a0a@medannic> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: HTB Cc: netfilter@lists.netfilter.org On Tue, 29 Jul 2003, HTB wrote: > When i want to active nat using iptable on eth0:0 (aliasing) "error appear" > # /sbin/iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.168.0.0/24 -o eth0:0 > Warning: wierd character in interface `eth0:0' (No aliases, :, ! or *). > > Are IP ALIASES supported by iptables? Ip Aliases practically don't exist anymore, they are just one other ip address on eth0 marked with a compatibility flag for the old ifconfig. (Use ip/iproute2 and you see what I mean). So don't use MASQUERADE and eth0:0, but instead use SNAT and the second ip of eth0 (aka the one on your eth0:0) c'ya sven -- The Internet treats censorship as a routing problem, and routes around it. (John Gilmore on http://www.cygnus.com/~gnu/)