From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wei Ming Long" Subject: Can iptables do this? Date: Thu, 12 Jun 2003 11:04:33 +0800 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: To: , > Content-Disposition: inline Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hi Everyone, I have posted this question before but got no response, so I'm posting it again, please pardon me if you have seen this before. I have a wireless network with my linux machine as a gateway between the internet & my internal wireless network. I have iptables running on the gateway & also a dhcp server to serve out ip addresses to the client laptops. I also run the Squid proxy server on the gateway to proxy http requests. I use iptables to redirect http traffic to Squid and to do nat for the internal network. My question is this: what if a laptop with a preconfigured static ip address comes into the internal network or worse, 2 client laptops with identical preconfigured static ip addresses enter into network, can iptables do nat based on mac address <--> public ip address mapping besides the usual private ip address <--> public ip address mapping? Please help. Thanks. Best regards Matthew