From mboxrd@z Thu Jan 1 00:00:00 1970 From: varun_saa@vsnl.net Subject: Re - NAT to client Date: Fri, 29 Apr 2005 19:13:37 +0500 Message-ID: <8187f8816eb6.816eb68187f8@vsnl.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: Content-language: en Content-disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org On Thu, Apr 28, 2005 at 11:22:21AM +0500, varun_saa@vsnl.net wrote: >> Hello, >> My server is om Mandrake 10.1 >> eth0 is WAN with static IP connected to 512K DSL. >> eth1 is LAN - 192.168.0.0/24. >> >> I have the iptables rules : >> >> # Generated by iptables-save v1.2.9 on Tue Apr 26 14:50:01 2005 >> *nat >> :OUTPUT ACCEPT [0:0] >> :PREROUTING ACCEPT [0:0] >> :POSTROUTING ACCEPT [0:0] >> -A POSTROUTING -o eth0 -j MASQUERADE so you MASQ all outbound traffic -j Well should I or not. I have a static IP and my subnets are 192.168.0.0/24 192.168.21.0/24 Is it possible to reflect them in my masq rule ? Varun