From: Ramin Dousti Subject: Re: VLANs and DNAT Date: Fri, 25 Jul 2003 09:40:33 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20030725134033.GC29983@cannon.eng.us.uu.net> References: <3F206E52.2090307@suse.net.au> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: 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: Chris Wilson Cc: Damien Mason , netfilter@lists.netfilter.org On Fri, Jul 25, 2003 at 11:17:57AM +0100, Chris Wilson wrote: > > But I cannot specify an interface -i eth1.2 in the prerouting, because > > it occurs pre-routing? > > I don't see why you can't do this. We do it and it works. You might get a > warning about "strange characters in interface name" if you have an old > iptables version, but it should still work. This is a typo. What he meant was "-o"... > > How can I forward traffic to a host on a vlan when the vlans don't > > use unique addressing schemes?.. I was thinking I may have to -j > > REDIRECT the traffic to another chain, and forward it from there? > > I don't think the REDIRECT target would help you here. Absolutely. REDIRECT has nothing to do with "REDIRECT the traffic to another chain". Ramin > > Cheers, Chris.