From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dave Warchol" Subject: iptables and device aliases Date: Wed, 18 Aug 2004 09:18:28 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline 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: netfilter@lists.netfilter.org Hello: I am new to the list. I am currently using iptables to redirect traffic on eth0 for ports 80 and 443, to ports 8080 and 8443, respectively. I have request to set up another DNS name for this server and to redirect entries coming to port 443 for this new DNS name to port 8444. I think that one way of doing this would be to define a device alias, say eth0:1, assign it a new IP address and associate the new DNS name with that new IP. I could then use iptables to redirect traffic on eth0:1, port 443 to port 8444. I was just wondering if iptables recognizes/supports device aliases or if there is a better way of accomplishing the same thing. Thanks very much, Dave