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