From mboxrd@z Thu Jan 1 00:00:00 1970 From: Payal Rathod Subject: SNAT Date: Fri, 9 Jul 2004 09:27:08 +0530 Sender: netfilter-admin@lists.netfilter.org Message-ID: 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: netfilter@lists.netfilter.org Hi, While reading man page of iptables I stumbled in MASQUERADE section, | This target is only valid in the nat table, in the POSTROUTING chain. | It should only be used with dynamically assigned IP (dialup) connec- | tions: if you have a static IP address, you should use the SNAT target. Can someone explain please why this is not valid when I am using a permanent conneciton terminating at say eth0 and also a small example on how SNAT can be used in the place? Thanks a lot in advance. With warm regards, Payal