On Thursday 2011-07-28 12:05, Kumar Swamy wrote: >Hello folks, > >I am a newbie to iptables and experimenting some stuff. So please excuse me, if this has already been discussed. > >I have a linux gateway which has a physical interface (eth0 ) and multiple virtual interfaces ( eth0:1, eth0:2), each has dynamic IP configured. >I want to create an iptables rule for IP masquerading on eth0 , but >packets going out on other interfaces should be left untouched. Is this >possible? Those are no interfaces. You are being deceived. My hint - stop using ifconfig. -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html